Loading advisory.
Loading advisory.
openapi-python-client Arbitrary Code Generation vulnerability
Clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.
Published 2020-08-14 16:20 UTC · Modified 2026-07-08 06:00 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| openapi-python-client | PyPI | < 0.5.3 git commits in https://github.com/triaxtec/openapi-python-client: < f7a56aae32cba823a77a84a1f10400799b19c19a versions 0.1.0, 0.1.0.dev0, 0.1.1, 0.1.2, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.0rc1, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2 | 0.5.3, f7a56aae32cba823a77a84a1f10400799b19c19a | pip install --upgrade 'openapi-python-client>=0.5.3'pip install --upgrade 'openapi-python-client>=f7a56aae32cba823a77a84a1f10400799b19c19a' |
Clients generated with a maliciously crafted OpenAPI Document can generate arbitrary Python code. Subsequent execution of this malicious client is arbitrary code execution.
Giving this a CVSS of 8.0 (high) with CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H/E:P/RL:U/RC:C .
Fix will be included in version 0.5.3
Inspect OpenAPI documents before generating, or inspect generated code before executing.
If you have any questions or comments about this advisory:
Open an issue in openapi-python-client
Email us at danthony@triaxtec.com
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.018 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.018 | first score | v2026.06.15 |