CVE-2026-134818
oasdiff 1.24.0 before 1.34.1 External Reference Policy Bypass via --open
High · 7.1Fix available
- CVSS
- 7.1
- EPSS
- 0.50% (p36)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-28
- Product
- oasdiff oasdiff
- Aliases
- GHSA-6h5x-f3qr-cp23
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Description
oasdiff 1.24.0 before 1.34.1 fails to enforce --allow-external-refs=false when --open is used, because the recordingReader() capture reader in load/capture.go never applies the external-reference policy. Attackers supplying an untrusted OpenAPI spec can use external $ref values to read local files or trigger HTTP requests, with contents uploaded in the review bundle.
Fixed in
1.34.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | oasdiff | >=1.24.0, <1.34.1 | 1.34.1 |
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 7d ago · CC-BY 4.0
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/oasdiff/oasdiff/security/advisories/GHSA-6h5x-f3qr-cp23 vendor-advisory
- https://github.com/oasdiff/oasdiff/commit/b762ae6335f6b22204b0f6c633604660464415a2 patch
- https://github.com/oasdiff/oasdiff/commit/5331dec281a3dd687d1e9f093961098efd66b2f2 patch
- https://github.com/oasdiff/oasdiff/releases/tag/v1.34.1 release-notes
- https://github.com/oasdiff/oasdiff/blob/v1.34.0/load/capture.go#L46-L62 technical-description
- https://www.vulncheck.com/advisories/oasdiff-1.24.0-before-1.34.1-external-reference-policy-bypass-via-open third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134818.json advisory
- https://github.com/oasdiff/oasdiff package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134818 advisory