Skip to content
OpenAdvisories
Medium · 6.0 CVE-2026-53508 EUVD-2026-68727GHSA-2jcc-mxv7-p3f9GO-2026-5937

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

Published Aug 31, 2026 · Updated Aug 31, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
oasdiff oasdiff >= 1.13.2, < 1.18.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/oasdiff/oasdiff >= 1.13.2, < 1.18.1 1.18.1 GHSA-2jcc-mxv7-p3f9

Advisories 1

References