CVE-2026-105801 json
openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation
published last mo. modified 25d ago also GHSA-5293-mq8x-g3xj , PYSEC-2026-4245 , EUVD-2026-93435
- cvss
- 8.4
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 3%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi openapi-python-client 0.29.1
Is CVE-2026-105801 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-105801 updated cvss 7.8
openapi-python-client: openapi-python-client: Arbitrary code execution via crafted OpenAPI documents
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- last mo.
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.4 | 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 |
| CNA | 4.0 | 8.4 | 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 packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | openapi-python-client | <0.29.1 |
0.29.1 |
Affected products
- openapi-generators openapi-python-client
Classification
References
-
github.com
/openapi-generators/openapi-python-client/pull/1483
web
-
github.com
/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186
web
-
github.com
/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj
web
-
github.com
/openapi-generators/openapi-python-client/releases/tag/v0.29.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-105801
advisory
-
github.com
/openapi-generators/openapi-python-client
package
-
pypi.org
/project/openapi-python-client
package
-
github.com
/advisories/GHSA-5293-mq8x-g3xj
advisory
Sources
- CVE List CVE-2026-105801
- GitHub Advisory GHSA-5293-mq8x-g3xj
- NVD CVE-2026-105801
- OSV PYSEC-2026-4245
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.