CVE-2026-105801openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation
Updated under an hour ago ()
Does this affect you?
It affects openapi-generators openapi-python-client. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.14%, higher than 3% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.4 HIGH (v4.0, CNA)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
- Weakness (CWE)
- CWE-94, CWE-116, CWE-150
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.14% (percentile 3)
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Oct 9, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
openapi-generators openapi-python-client openapi_generators:openapi_python_client (from the name) | before 0.29.1 | CNA record |
References
- https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xjx-refsource-confirm
- https://github.com/openapi-generators/openapi-python-client/pull/1483x-refsource-misc
- https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186x-refsource-misc
- https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.