CVE-2026-134818
MEDIUM
NVD
CVSS Score
6.5
Severity
MEDIUM
Published
Nov 22, 2026
Vendor
unknown
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.
References
- https://github.com/oasdiff/oasdiff/blob/v1.34.0/load/capture.go#L46-L62
- https://github.com/oasdiff/oasdiff/commit/5331dec281a3dd687d1e9f093961098efd66b2f2
- https://github.com/oasdiff/oasdiff/commit/b762ae6335f6b22204b0f6c633604660464415a2
- https://github.com/oasdiff/oasdiff/releases/tag/v1.34.1
- https://github.com/oasdiff/oasdiff/security/advisories/GHSA-6h5x-f3qr-cp23