CVE-2026-105801

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.
CVSS

No CVSS.

Configurations

No configuration.

History

06 Oct 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-06 15:17

Updated : 2026-10-09 02:16


NVD link : CVE-2026-105801

Mitre link : CVE-2026-105801

CVE.ORG link : CVE-2026-105801


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-116

Improper Encoding or Escaping of Output

CWE-150

Improper Neutralization of Escape, Meta, or Control Sequences