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.
Metrics
Affected Vendors & Products
References
History
Fri, 09 Oct 2026 09:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Openapi-generators
Openapi-generators openapi-python-client |
|
| Vendors & Products |
Openapi-generators
Openapi-generators openapi-python-client |
Fri, 09 Oct 2026 02:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Tue, 06 Oct 2026 15:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation | |
| Weaknesses | CWE-116 CWE-150 CWE-94 |
|
| References |
|
|
| Metrics |
cvssV4_0
|
Status: PUBLISHED
Assigner: GitHub_M
Published: 2026-10-06T14:53:42.461Z
Updated: 2026-10-09T01:06:15.915Z
Reserved: 2026-10-05T20:37:19.364Z
Link: CVE-2026-105801
Updated: 2026-10-09T01:06:10.895Z
Status : Deferred
Published: 2026-10-06T15:17:17.320
Modified: 2026-10-09T02:16:55.107
Link: CVE-2026-105801
No data.