CVE Catalog

CVE-2026-105801

HighCVSS 8.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.14%

3th percentile - higher than 3% of all known CVEs

Summary

openapi-python-client versions prior to 0.29.1 do not safely neutralize malicious OpenAPI document content before rendering in string, docstring, and f-string contexts in generated Python. The generated client can contain attacker-controlled Python that executes on import, affecting the importing environment's integrity.

Risk Assessment

The risk involves execution of malicious code during client import, potentially compromising integrity, confidentiality, and availability.

Recommendation

Upgrade openapi-python-client to version 0.29.1 or later and be cautious when generating clients from untrusted OpenAPI documents.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS