high7.1
CVE-2026-134818
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 …
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data being read.
Affected products (Oasdiff)
| Product | Affected versions |
|---|---|
| Oasdiff | from 1.24.0 before 1.34.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/oasdiff/oasdiff/security/advisories/GHSA-6h5x-f3qr-cp23
- https://github.com/oasdiff/oasdiff/commit/b762ae6335f6b22204b0f6c633604660464415a2
- https://github.com/oasdiff/oasdiff/commit/5331dec281a3dd687d1e9f093961098efd66b2f2
- https://github.com/oasdiff/oasdiff/releases/tag/v1.34.1
- https://github.com/oasdiff/oasdiff/blob/v1.34.0/load/capture.go#L46-L62
- https://www.vulncheck.com/advisories/oasdiff-1.24.0-before-1.34.1-external-reference-policy-bypass-via-open
- https://github.com/advisories/GHSA-47c8-8jj8-283x
- https://nvd.nist.gov/vuln/detail/CVE-2026-134818