CVE-2026-105801

published 6 Oct 2026 · updated 9 Oct 2026

openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation

8.4HighCVSS 8.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
openapi-generators<0.29.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-105801 severity on Zeptric[![CVE-2026-105801](https://zeptric.io/badge/cve/CVE-2026-105801.svg)](https://zeptric.io/cve/CVE-2026-105801)