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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-116",
"CWE-150",
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105801.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.29.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "1c99af478892e5bbe6583b92acba431c9dec9186"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.29.1",
"range": [
{
"fixed": "4a2f3db9bc3810588d404ecd66b53ce302532716"
}
],
"source": "REFERENCES_TAG"
}
]
}