Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/oasdiff/oasdiff
  4. ›
  5. CVE-2026-53508

CVE-2026-53508: oasdiff does not enforce --allow-external-refs=false on the git-revision load path (SSRF / local file read)

July 7, 2026

From v1.13.2 through v1.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.

References

  • github.com/advisories/GHSA-2jcc-mxv7-p3f9
  • github.com/oasdiff/oasdiff/pull/832
  • github.com/oasdiff/oasdiff/pull/974
  • github.com/oasdiff/oasdiff/pull/975
  • github.com/oasdiff/oasdiff/security/advisories/GHSA-2jcc-mxv7-p3f9
  • nvd.nist.gov/vuln/detail/CVE-2026-53508

Code Behaviors & Features

Detect and mitigate CVE-2026-53508 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.13.2 before 1.18.1

Fixed versions

  • 1.18.1

Solution

Upgrade to version 1.18.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-693: Protection Mechanism Failure
  • CWE-73: External Control of File Name or Path
  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

go/github.com/oasdiff/oasdiff/CVE-2026-53508.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 00:20:12 +0000.