Every CVE Search/ Get API key

CVE-2020-15141

Path Traversal in openapi-python-client

3.0 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

1.14%Up 0.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 3.0

Path Traversal in openapi-python-client

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.

Record
CVE-2020-15141
CVSS 3.1
3.0 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
Weakness
CWE-22
Updated
2026-11-02
EUVDEUVD-2020-0121 3.0

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.

Record
EUVD-2020-0121
CVSS 3.1
3.0 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-7wgr-7666-7pwj 2.1

Path Traversal in openapi-python-client

Impact

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.

Giving this a CVSS score of 3.0 (Low) with CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N/E:P/RL:U/RC:C

Patches

A fix is being worked on for version 0.5.3

Workarounds

Inspect OpenAPI documents before generating clients for them.

For more information

If you have any questions or comments about this advisory:

Record
GHSA-7wgr-7666-7pwj
CVSS 4.0
2.1 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
CVSS 3.1
3.0 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
Weakness
CWE-22
Updated
2026-11-02
NVD 3.0

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.

Record
CVE-2020-15141
CVSS 3.1
3.0 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
CVSS 3.1
4.1 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:N/I:P/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV 4.1

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.

Record
CVE-2020-15141
CVSS 3.1
4.1 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N
Updated
2026-11-02
OSVGHSA-7wgr-7666-7pwj 2.1

Path Traversal in openapi-python-client

Impact

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.

Giving this a CVSS score of 3.0 (Low) with CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N/E:P/RL:U/RC:C

Patches

A fix is being worked on for version 0.5.3

Workarounds

Inspect OpenAPI documents before generating clients for them.

For more information

If you have any questions or comments about this advisory:

Record
GHSA-7wgr-7666-7pwj
CVSS 4.0
2.1 LowCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
CVSS 3.1
3.0 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:N
Weakness
CWE-22
Updated
2026-11-02
OSVPYSEC-2020-70 No score

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.

Record
PYSEC-2020-70
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openapi-python-client
PyPI
before 0.5.3
0.5.3
openapi-python-client
PyPI
before 0.5.3, plus listed versions
0.1.00.1.0.dev00.1.10.1.20.2.0
Show 9 moreShow less
0.2.10.3.00.4.00.4.0rc10.4.10.4.20.5.00.5.10.5.2
0.5.3
openapi-python-client
PyPI
before 0.5.3, plus listed versions
0.1.0.dev00.1.00.1.10.1.20.2.0
Show 9 moreShow less
0.2.10.3.00.4.0rc10.4.00.4.10.4.20.5.00.5.10.5.2
0.5.3

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-15141 is a low vulnerability (CVSS 3.0) in Openapi-python-client Project Openapi-python-client, published August 14, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.14%, the 66th percentile. Fixed in openapi-python-client 0.5.3.

References

MoveEnter Open