What’s Vulnerable › Vulnerabilities
CVE-2020-15141: Path Traversal in openapi-python-client
- Severity: medium (CVSS 4.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-08-14 · updated 2026-06-17
- Weakness: CWE-22
Description
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.
Affected products
- triaxtec openapi-python-client: before 0.5.3 — fixed in 0.5.3
How to fix
Upgrade to a fixed version: triaxtec openapi-python-client 0.5.3. Check the vendor advisory for mitigations.
References
- https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13
- https://github.com/triaxtec/openapi-python-client/commit/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746
- https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-7wgr-7666-7pwj
- https://pypi.org/project/openapi-python-client
- https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13
- https://github.com/triaxtec/openapi-python-client/commit/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746
- https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-7wgr-7666-7pwj
- https://pypi.org/project/openapi-python-client
Get alerted when CVE-2020-15141 or the next vulnerability affects your stack