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.
Severity (CVSS)
| Base score | 6 |
|---|---|
| Severity | Medium |
| Version | CVSS 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 |
| Provided by | CNA |
Weaknesses
- CWE-73 — CWE-73: External Control of File Name or Path
- CWE-693 — CWE-693: Protection Mechanism Failure
- CWE-918 — CWE-918: Server-Side Request Forgery (SSRF)
Affected products
| Vendor | Product | Versions |
|---|---|---|
| oasdiff | oasdiff | >= 1.13.2, < 1.18.1 |
References
- https://github.com/oasdiff/oasdiff/security/advisories/GHSA-2jcc-mxv7-p3f9 (x_refsource_CONFIRM)
- https://github.com/oasdiff/oasdiff/pull/832 (x_refsource_MISC)
- https://github.com/oasdiff/oasdiff/pull/974 (x_refsource_MISC)
- https://github.com/oasdiff/oasdiff/pull/975 (x_refsource_MISC)
Generated from the official CVE List on 01 Sep 2026 07:00 UTC.