# CVE-2020-15141: Path Traversal in openapi-python-client

Source: https://junglewise.ai/threats/cve-2020-15141-path-traversal-in-openapi-python-client  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-08-14  
License: CC BY 4.0 with a link back

CVE-2020-15141 · Severity: low · CVSS 3.1 · Published 2020-08-14

In openapi-python-client before version 0.5.3, there is a path traversal vulnerability. If a user generated a client using a maliciously crafted OpenAPI document, it is possible for generated files to be placed in arbitrary locations on disk.

Technologies: [openapi-python-client (PyPI)](https://junglewise.ai/threats/technologies/openapi-python-client). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2020-15141 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-15141 being exploited in the wild.

**How severe is CVE-2020-15141?** Low severity, with a CVSS score of 3.1, published 14 August 2020.

**Which products and versions are affected?** openapi-python-client (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.3, GIT:introduced=0,fixed=3e7dfae5d0b3685abf1ede1bc6c086a116ac4746|ECOSYSTEM:introduced=0,fixed=0.5.3.

**Is there a fix for CVE-2020-15141?** Yes. openapi-python-client (PyPI): upgrade to 0.5.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-15141?** Check whether you run openapi-python-client (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- openapi-python-client (PyPI): upgrade to 0.5.3 or later

  ```sh
  pip install "openapi-python-client>=0.5.3"
  ```


## Affected products

- openapi-python-client (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.3, GIT:introduced=0,fixed=3e7dfae5d0b3685abf1ede1bc6c086a116ac4746|ECOSYSTEM:introduced=0,fixed=0.5.3

## Identifiers

- CVE-2020-15141
- GHSA-7wgr-7666-7pwj
- PYSEC-2020-70

## Related threats

- [openapi-python-client code injection in generated client](https://junglewise.ai/threats/cve-2026-105801-openapi-python-client-generates-python-clients-from-openapi)
- [openapi-python-client Arbitrary Code Generation vulnerability](https://junglewise.ai/threats/cve-2020-15142-openapi-python-client-arbitrary-code-generation-vulnerability)
