oasdiff 1.24.0 before 1.34.1 External Reference Policy Bypass via --open
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 22, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 22, 2026
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.
| Product | Versions |
|---|---|
| oasdiff oasdiff | 1.24.0 to before 1.34.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-610 Externally Controlled Reference to a Resource in Another Sphere
References
- GitHub Security Advisory (GHSA-6h5x-f3qr-cp23)Vendor Advisory
- https://github.com/oasdiff/oasdiff/commit/b762ae6335f6b22204b0f6c633604660464415a2Patch
- https://github.com/oasdiff/oasdiff/commit/5331dec281a3dd687d1e9f093961098efd66b2f2Patch
- oasdiff v1.34.1 Release NotesRelease Notes
- https://github.com/oasdiff/oasdiff/blob/v1.34.0/load/capture.go#L46-L62Technical Details
- VulnCheck Advisory: oasdiff 1.24.0 before 1.34.1 External Reference Policy Bypass via --openThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.