// Security Advisory Triage
openapi-python-client 0.29.0 and earlier generates arbitrary code from malicious specs
GitHub advisories — pip · published 2026-10-07 13:26 UTC
WHAT CHANGEDCVE-2026-105801 published 6 October 2026 rates openapi-python-client as high severity for arbitrary code generation when processing malicious OpenAPI documents. First patched version is 0.29.1.
WHY IT MATTERSIf your build or CI pipeline uses openapi-python-client to generate code from external or untrusted OpenAPI specs, an attacker controlling that spec can inject arbitrary code into your generated client libraries. This executes during generation, not at runtime of the final application.
WHAT TO DOUpgrade to openapi-python-client 0.29.1 or later if you generate clients from OpenAPI specs you do not fully control. If you only generate from internal specs you author, verify those specs are not pulled from external sources or user input.
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-5293-mq8x-g3xj +summary: openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation +severity: high +published_at: 2026-10-06T15:32:53Z +cve_id: CVE-2026-105801 +vulnerabilities[].package.name: openapi-python-client +vulnerabilities[].first_patched_version: 0.29.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | Python code-generation tool with arbitrary code execution risk in build pipelines. Security leads run this in CI/CD. |
| signals | new advisory published · high severity rating · Python package in dependency tree · code generation vulnerability — affects build/CI pipeline · first patched version identified (0.29.1) |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |