{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.24.0"
                  },
                  {
                    "fixed": "1.34.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "b762ae6335f6b22204b0f6c633604660464415a2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "5331dec281a3dd687d1e9f093961098efd66b2f2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.34.1",
                "range": [
                  {
                    "fixed": "b762ae6335f6b22204b0f6c633604660464415a2"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "20e22eb19628dd15f7c75fff5a9d4e26a1a9d56e"
            },
            {
              "fixed": "b762ae6335f6b22204b0f6c633604660464415a2"
            },
            {
              "fixed": "5331dec281a3dd687d1e9f093961098efd66b2f2"
            }
          ],
          "repo": "https://github.com/oasdiff/oasdiff",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6h5x-f3qr-cp23"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-610"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134818.json"
  },
  "details": "oasdiff 1.24.0 before 1.34.1 fails to enforce --allow-external-refs=false when --open is used, because the recordingReader() capture reader in load/capture.go never applies the external-reference policy. Attackers supplying an untrusted OpenAPI spec can use external $ref values to read local files or trigger HTTP requests, with contents uploaded in the review bundle.",
  "id": "CVE-2026-134818",
  "modified": "2026-11-22T22:45:35.397500707Z",
  "published": "2026-11-22T21:22:08.855Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134818.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/oasdiff/oasdiff"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/oasdiff/oasdiff/blob/v1.34.0/load/capture.go#L46-L62"
    },
    {
      "type": "FIX",
      "url": "https://github.com/oasdiff/oasdiff/commit/5331dec281a3dd687d1e9f093961098efd66b2f2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/oasdiff/oasdiff/commit/b762ae6335f6b22204b0f6c633604660464415a2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/oasdiff/oasdiff/releases/tag/v1.34.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/oasdiff/oasdiff/security/advisories/GHSA-6h5x-f3qr-cp23"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134818"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/oasdiff-1.24.0-before-1.34.1-external-reference-policy-bypass-via-open"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "oasdiff 1.24.0 before 1.34.1 External Reference Policy Bypass via --open"
}