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
| Product | Affected versions | Fixed 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
- https://github.com/oasdiff/oasdiff/security/advisories/GHSA-2jcc-mxv7-p3f9 vendor-advisory
- https://github.com/oasdiff/oasdiff/pull/832 patch
- https://github.com/oasdiff/oasdiff/pull/974 patch
- https://github.com/oasdiff/oasdiff/pull/975 patch
- github.com product
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2526467 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com