CVE-2026-105801
openapi-python-client generates Python clients from OpenAPI …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431
- 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-g3x
- nvd.nist.gov/vuln/detail/CVE-2026-105801
- github.com/advisories/GHSA-5293-mq8x-g3xj
- nvd.nist.gov/vuln/detail/CVE-2026-105801
- cve.org/CVERecord?id=CVE-2026-105801
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.