{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "cdb00f607a149f75b79a0f342b5881fd49ab4667"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cdb00f607a149f75b79a0f342b5881fd49ab4667"
            }
          ],
          "repo": "https://github.com/mikedombo/jsonschema2popo2",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137999.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "last_affected": "3.0.3"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "2PoPo2"
              },
              {
                "last_affected": "3.0.3"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "JSONSchema2PoPo2 through 3.0.3 contains a code injection vulnerability that allows attackers to inject Python code by supplying JSON Schema default or format values that are written unescaped. Attackers can place a single quote in a string property default to break out of the literal in the generated __init__ signature, executing injected code when the generated module is imported.",
  "id": "CVE-2026-137999",
  "modified": "2026-11-27T18:45:23.025751963Z",
  "published": "2026-11-27T16:10:16.972Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137999.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/MikeDombo/JSONSchema2PoPo2"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8eda5e3b4e119/jsonschema2popo/python/python_class.tmpl#L70"
    },
    {
      "type": "FIX",
      "url": "https://github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MikeDombo/JSONSchema2PoPo2/issues/24"
    },
    {
      "type": "FIX",
      "url": "https://github.com/MikeDombo/JSONSchema2PoPo2/pull/25"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137999"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injection-via-python-class-tmpl-template"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template"
}