{
  "id": "CVE-2026-105801",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-105801",
  "published_at": "2026-10-06T14:53:42.461Z",
  "title": "openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation",
  "vendor": "openapi-generators",
  "product": "openapi-python-client",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "openapi-generators",
        "product": "openapi-python-client",
        "ranges": [
          "\u003c 0.29.1"
        ],
        "fixed_in": [
          "0.29.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade openapi-python-client to 0.29.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openapi-generators/openapi-python-client/pull/1483"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
