{"id":"CVE-2026-53508","published":"2026-08-31T18:52:12Z","modified":"2026-08-31T18:58:08Z","title":"oasdiff does not enforce --allow-external-refs=false on the git-revision load path (SSRF / local file read)","vendor":"oasdiff","product":"oasdiff","tier":"tail","description":{"text":"oasdiff is a command-line and Go package that compares and detects breaking changes in OpenAPI specs. From version 1.13.2 through version 1.18.0, oasdiff did not enforce --allow-external-refs=false (library: openapi3.Loader.IsExternalRefsAllowed = false) when loading a spec from a git revision (the rev:path form, e.g. main:openapi.yaml). External $refs were resolved on that load path even when external refs were explicitly disabled, so the mitigation silently did not apply there. This issue has been patched in version 1.18.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.005,"percentile":0.43757,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/oasdiff/oasdiff/security/advisories/GHSA-2jcc-mxv7-p3f9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/oasdiff/oasdiff/pull/832","tags":["x_refsource_MISC"]},{"url":"https://github.com/oasdiff/oasdiff/pull/974","tags":["x_refsource_MISC"]},{"url":"https://github.com/oasdiff/oasdiff/pull/975","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":8.75},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"oasdiff","affectedVersions":[{"vendor":"oasdiff","product":"oasdiff","versions":[">= 1.13.2, < 1.18.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-31T18:57:49.502659Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/oasdiff/oasdiff","vulnerableRanges":[">=1.13.2, <1.18.1"],"patched":["1.18.1"],"from":["GHSA-2jcc-mxv7-p3f9","GO-2026-5937"],"provenance":"source"}],"summary":{"text":"oasdiff, a command-line tool and Go package for detecting breaking changes in OpenAPI specs, fails to enforce the external-refs restriction (--allow-external-refs=false, or IsExternalRefsAllowed in the openapi3.Loader) when loading a spec from a git revision in rev:path form, so external $refs are still resolved even when disabled. An attacker who can get oasdiff to process a crafted spec via that git-revision load path, with user interaction required and no privileges needed, can cause it to make requests to arbitrary external locations or read local files through those references.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:52Z"},"euvd":{"id":"EUVD-2026-68727","exploited":false,"provenance":"source"}}