CVE-2026-105801openapi-generators openapi-python-client
High 8.4
Follow: this CVE · openapi-generators · openapi-generators openapi-python-client We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 4.0
- 8.4
- EPSS
- —
- Auth required
- Yes
- Published
- Oct 6, 2026
- Updated
- Oct 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- 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
What happens
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.
What to do
- Apply the vendor's security update for openapi-python-client.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | openapi-python-client |
< 0.29.1 |
0.29.1 |
pip install "openapi-python-client>=0.29.1" |
| PyPI | openapi-python-client |
< 0.29.1 |
0.29.1 |
pip install "openapi-python-client>=0.29.1" |
Per OSV / GitHub Advisories (GHSA-5293-mq8x-g3xj, PYSEC-2026-4245). Check the version in your lockfile before upgrading.
Affected products
- openapi-generators · openapi-python-client
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.