CVE-2026-105801
openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
openapi-python-client generates Python clients from OpenAPI documents. Prior to 0.29.1, the generator does not safely neutralize malicious OpenAPI document content before rendering string, docstring, and f-string contexts in generated Python. The generated Python client can contain attacker-controlled Python that executes when a user imports the client, affecting the importing environment's integrity and potentially its confidentiality and availability. This issue is fixed in version 0.29.1.
| CWE | CWE-94 CWE-116 CWE-150 |
| Vendor | openapi-generators |
| Product | openapi-python-client |
| Published | Oct 6, 2026 |
Stay Ahead of the Next One
Get instant alerts for openapi-generators openapi-python-client
Be the first to know when new unknown vulnerabilities affecting openapi-generators openapi-python-client are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
openapi-generators / openapi-python-client
< 0.29.1
References
github.com: https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj github.com: https://github.com/openapi-generators/openapi-python-client/pull/1483 github.com: https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186 github.com: https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1