CVE-2026-105801

HIGH CVSS 4.0: 8.4
Updated Oct 06, 2026
Python
Parameter Value
CVSS 8.4 (HIGH)
Fixed In 0.29.1
Type CWE-150, CWE-94 (Code Injection), CWE-116 (Improper Encoding or Escaping of Output)
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0