Security mailing lists by PureSourceCode

CVE-2020-15142

CRITICAL 9.0CVSS 3.1

openapi-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openapi-python-client_project openapi-python-client
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.