Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. openapi-python-client
  4. ›
  5. CVE-2026-105801

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

October 6, 2026

A malicious OpenAPI document processed by any openapi-python-client prior to 0.29.1 can generate arbitrary Python code. When anyone imports the malicious client, that arbitrary Python code will execute.

References

  • github.com/advisories/GHSA-5293-mq8x-g3xj
  • github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186
  • github.com/openapi-generators/openapi-python-client/pull/1483
  • github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1
  • github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj
  • nvd.nist.gov/vuln/detail/CVE-2026-105801

Code Behaviors & Features

Detect and mitigate CVE-2026-105801 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.29.1

Fixed versions

  • 0.29.1

Solution

Upgrade to version 0.29.1 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output
  • CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/openapi-python-client/CVE-2026-105801.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 30 Oct 2026 12:16:48 +0000.