{"id":"CVE-2026-105801","revision":"736b4f1ac04f4ae09e5f46046adcefa1","records":[{"revision":"736b4f1ac04f4ae09e5f46046adcefa1","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-105801","aliases":[],"title":"openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation","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.","state":0,"publishedAt":"2026-10-06T14:53:42.461+00:00","modifiedAt":"2026-10-09T01:06:15.915+00:00","affected":[{"ecosystem":"Vendor product","name":"openapi-python-client","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"openapi-generators\",\n                    \"product\": \"openapi-python-client\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.29.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.4,"severity":"HIGH"}],"references":["https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj","https://github.com/openapi-generators/openapi-python-client/pull/1483","https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186","https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-105801","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-105801","identifiers":["CVE-2026-105801"]},"retained":false,"historicalAffected":[]}],"coverage":[]}