{"id":"CVE-2020-15141","published":"2020-08-14T16:20:19Z","modified":"2024-08-04T13:08:22Z","title":"Path Traversal in openapi-python-client","vendor":"triaxtec","product":"openapi-python-client","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01137,"percentile":0.67329,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13","tags":["x_refsource_MISC"]},{"url":"https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-7wgr-7666-7pwj","tags":["x_refsource_CONFIRM"]},{"url":"https://pypi.org/project/openapi-python-client","tags":["x_refsource_MISC"]},{"url":"https://github.com/triaxtec/openapi-python-client/commit/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":13.47},{"name":"CVSS severity","points":2.1}]},"vendorSlug":"triaxtec","affectedVersions":[{"vendor":"triaxtec","product":"openapi-python-client","versions":["< 0.5.3"]}],"affected":[{"ecosystem":"PyPI","package":"openapi-python-client","vulnerableRanges":["<0.5.3"],"patched":["0.5.3"],"from":["GHSA-7wgr-7666-7pwj","PYSEC-2020-70"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in openapi-python-client, a tool that generates Python API clients, lets generated files be written to arbitrary locations on disk when the tool processes a maliciously crafted OpenAPI document. An attacker would need to supply that crafted document and get a user to generate a client from it, which requires user interaction and low privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:34Z"},"euvd":{"id":"EUVD-2020-0121","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-triaxtec-openapi-python-client-cve-2020-15141","children":[{"from":"CVE-2020-15141","to":"CVE-2020-15142","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openapi_python_client/__init__.py","openapi_python_client/utils.py"],"commits":["https://github.com/triaxtec/openapi-python-client/commit/3e7dfae5d0b3685abf1ede1bc6c086a116ac4746","https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a"],"basis":"rarely changed file"}]}]}}