CVE-2020-15142
CRITICAL 9.0CVSS 3.1openapi-python-client Arbitrary Code Generation vulnerability
In openapi-python-client before version 0.5.3, clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.
- Published
- 14 Aug 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-9x4c-63pf-525fPYSEC-2020-71
- Sources
- NVDJSONOSV GHSA-9x4c-63pf-525fJSONOSV PYSEC-2020-71JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openapi-python-client_project | openapi-python-clientcpe:2.3:a:openapi-python-client_project:openapi-python-client:*:*:*:*:*:*:*:* |
< 0.5.3 | 0.5.3 |
| OSV | PyPI | openapi-python-client | < 0.5.3 | 0.5.3 |
References
- https://github.com/triaxtec/openapi-python-client/blob/main/CHANGELOG.md#053---2020-08-13 · Release Notes, Third Party Advisory, WEB
- https://github.com/triaxtec/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a · Patch, Third Party Advisory, WEB, FIX
- https://github.com/triaxtec/openapi-python-client/security/advisories/GHSA-9x4c-63pf-525f · Third Party Advisory, WEB, ADVISORY
- https://pypi.org/project/openapi-python-client/ · Product, Third Party Advisory, WEB, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2020-15142 · ADVISORY
- https://github.com/openapi-generators/openapi-python-client/commit/f7a56aae32cba823a77a84a1f10400799b19c19a · WEB
- https://github.com/openapi-generators/openapi-python-client · PACKAGE
- https://github.com/openapi-generators/openapi-python-client/releases/tag/v.0.5.3 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/openapi-python-client/PYSEC-2020-71.yaml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 14 Aug 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 Aug 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Aug 2020)