CVE-2026-105801
Severity not reportedopenapi-python-client generates Python clients from OpenAPI documents.
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
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b9... security-advisories@github.com
- https://github.com/openapi-generators/openapi-python-client/pull/1483 security-advisories@github.com
- https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1 security-advisories@github.com
- https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-... security-advisories@github.com
