CVE-2026-105801Openapi Generators Openapi-python-client code injection
CVSS score
8.4
High
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.14%
0.14% chance of exploitation in the next 30 days, higher than 3.21% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running openapi-generators Openapi-python-client and compare its version with the affected versions.
Update to a fixed version
- Update Openapi-python-client to 0.29.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| openapi-generators Openapi-python-client | < 0.29.1 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-105801 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-105801?
CVE-2026-105801 has a CVSS 4.0 base score of 8.4 (high).
Which versions are affected?
Openapi Generators Openapi-python-client (< 0.29.1)
Is there a patch for CVE-2026-105801?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186
- 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-g3xj
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.