{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.29.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1c99af478892e5bbe6583b92acba431c9dec9186"
            },
            {
              "fixed": "4a2f3db9bc3810588d404ecd66b53ce302532716"
            }
          ],
          "repo": "https://github.com/openapi-generators/openapi-python-client",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-5293-mq8x-g3xj"
  ],
  "database_specific": {
    "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"
  },
  "details": "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.",
  "id": "CVE-2026-105801",
  "modified": "2026-10-08T02:31:10.672299794Z",
  "published": "2026-10-06T14:53:42.461Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/openapi-generators/openapi-python-client/releases/tag/v0.29.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105801.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/openapi-generators/openapi-python-client/security/advisories/GHSA-5293-mq8x-g3xj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-105801"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openapi-generators/openapi-python-client/commit/1c99af478892e5bbe6583b92acba431c9dec9186"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openapi-generators/openapi-python-client/pull/1483"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "openapi-python-client: Malicious OpenAPI Documents can cause Arbitrary Code Generation"
}