CVE-2026-105801: high-severity vulnerability in openapi-generators openapi-python-client
openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation
Published
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.4epss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H
Affected products
openapi-generators · openapi-python-clientReferences
https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186https://github.com/openapi-generators/openapi-python-client/pull/1483https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj