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.
- CVSS
- 8.4High
- Chance of exploitation (EPSS)
- 0.14%
- Published
- Oct 6, 2026
- In the news
- Not yet
What to do
A serious code injection flaw in Openapi-generators Openapi-python-client that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Openapi-generators Openapi-python-client
- < 0.29.1
Description
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-105801 published (CVSS 8.4) (Oct 6, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Oct 6, 2026
- CVECVE-2026-105801 published (CVSS 8.4)CVE Program · 15:17 UTC
References 4
- github.com /openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186
- github.com /openapi-generators/openapi-python-client/pull/1483
- github.com /openapi-generators/openapi-python-client/releases/tag/v0.29.1
- github.com /openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj