{"id":"GHSA-5293-mq8x-g3xj","summary":"openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation","details":"### Impact\nA malicious OpenAPI document processed by any `openapi-python-client` prior to 0.29.1 can generate arbitrary Python code. When anyone imports the malicious client, that arbitrary Python code will execute.\n\n### Patches\nVersions starting with 0.29.1 have updated with guardrails to prevent arbitrary code generation. Upgrade to this version immediately and audit any code previously generated from untrusted documents.\n\n### Workarounds\nDo not generate clients for documents you don't completely trust. Carefully verify any existing generated code from untrusted documents.","aliases":["CVE-2026-105801"],"modified":"2026-10-06T15:46:46.643763749Z","published":"2026-10-06T15:32:53Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-10-06T15:32:53Z","nvd_published_at":"2026-10-06T15:17:17Z","cwe_ids":["CWE-116","CWE-150","CWE-94"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105801"},{"type":"WEB","url":"https://github.com/openapi-generators/openapi-python-client/pull/1483"},{"type":"WEB","url":"https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186"},{"type":"PACKAGE","url":"https://github.com/openapi-generators/openapi-python-client"},{"type":"WEB","url":"https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1"}],"affected":[{"package":{"name":"openapi-python-client","ecosystem":"PyPI","purl":"pkg:pypi/openapi-python-client"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.29.1"}]}],"versions":["0.1.0","0.1.0.dev0","0.1.1","0.1.2","0.10.0","0.10.1","0.10.2","0.10.3","0.10.4","0.10.5","0.10.6","0.10.7","0.10.8","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.11.6","0.12.1","0.12.2","0.12.3","0.13.0","0.13.1","0.13.2","0.13.3","0.13.4","0.14.0","0.14.1","0.15.0","0.15.1","0.15.2","0.16.0","0.16.1","0.17.0","0.17.1","0.17.2","0.17.3","0.18.0","0.19.0","0.19.1","0.2.0","0.2.1","0.20.0","0.21.0","0.21.1","0.21.2","0.21.3","0.21.4","0.21.5","0.21.6","0.21.7","0.22.0","0.23.0","0.23.1","0.24.0","0.24.1","0.24.2","0.24.3","0.25.0","0.25.1","0.25.2","0.25.3","0.26.0","0.26.1","0.26.2","0.27.0","0.27.1","0.28.0","0.28.1","0.28.2","0.28.3","0.28.4","0.29.0","0.3.0","0.4.0","0.4.0rc1","0.4.1","0.4.2","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.6.0","0.6.0a1","0.6.0a2","0.6.0a3","0.6.0a4","0.6.1","0.6.2","0.7.0","0.7.0rc0","0.7.0rc1","0.7.0rc2","0.7.0rc3","0.7.1","0.7.2","0.7.3","0.8.0","0.9.0","0.9.1","0.9.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-5293-mq8x-g3xj/GHSA-5293-mq8x-g3xj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}