Skip to content

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

MediumCVSS 6.0 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
oasdiff github.com/oasdiff/oasdiff(Go) >= 1.13.2, < 1.18.1 1.18.1
oasdiff github.com/oasdiff/oasdiff = >= 1.13.2, < 1.18.1 No fix listed
oasdiff github.com/oasdiff/oasdiff(Go) >= 1.13.2, <= 1.18.0 No fix listed

References