MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-105801GHSA-5293-mq8x-g3xj

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

Not on CISA KEV
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)