{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-105801","id":"CVE-2026-105801","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 integr","descriptionLong":"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.","published":"2026-10-06T14:53:42.461Z","updated":"2026-10-28T02:31:07.000821360Z","reserved":"2026-10-05T20:37:19.364Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":8.4,"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","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":8.4,"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","rating":"high","source":"GitHub_M"},{"version":"4.0","score":8.4,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"}],"rating":"high","products":["openapi-generators openapi-python-client"],"affectedProducts":[{"vendor":"openapi-generators","product":"openapi-python-client","defaultStatus":null,"versions":[{"version":"< 0.29.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"openapi-python-client","purl":"pkg:pypi/openapi-python-client","ranges":["<0.29.1"],"fixed":["0.29.1"],"advisory":"GHSA-5293-mq8x-g3xj"}],"cwes":["CWE-94","CWE-116","CWE-150"],"aliases":["GHSA-5293-mq8x-g3xj","PYSEC-2026-4245"],"references":[{"url":"https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/openapi-generators/openapi-python-client/pull/1483","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105801.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105801","tags":["advisory"]},{"url":"https://github.com/openapi-generators/openapi-python-client","tags":["package"]},{"url":"https://pypi.org/project/openapi-python-client","tags":["package"]},{"url":"https://github.com/advisories/GHSA-5293-mq8x-g3xj","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00139,"epssPercentile":0.03302,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-105801","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105801","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-105801","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5293-mq8x-g3xj","ok":true,"note":"GHSA-5293-mq8x-g3xj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-105801","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}