Live threats

All CVEs / openapi-generators

CVE-2026-105801openapi-generators openapi-python-client

High 8.4

Priority
50
CVSS 4.0
8.4
EPSS
—
Auth required
Yes
Published
Oct 6, 2026
Updated
Oct 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94, CWE-116, CWE-150
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for openapi-python-client.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

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.