# CVE-2026-134818: oasdiff 1.24.0 before 1.34.1 External Reference Policy Bypass via --open

Source: https://aplosec.si/cve/CVE-2026-134818/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-134818

High 7.1 · Reported · Fixed in 1.34.1 · CWE-610 · Go

# oasdiff 1.24.0 before 1.34.1 External Reference Policy Bypass via --open

CVE-2026-134818 · published 2026-11-22

## Summary

CVE-2026-134818 affects oasdiff (Go) >= 1.24.0, < 1.34.1: External Reference Policy Bypass via --open (CWE-610). Fixed in 1.34.1. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade oasdiff to 1.34.1 or later. Releases in the affected range (>= 1.24.0, < 1.34.1) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-22 CVE published

## References

- [Referencehttps://github.com/oasdiff/oasdiff/security/advisories/GHSA-6h5x-f3qr-cp23](https://github.com/oasdiff/oasdiff/security/advisories/GHSA-6h5x-f3qr-cp23)

- [Releasehttps://github.com/oasdiff/oasdiff/releases/tag/v1.34.1](https://github.com/oasdiff/oasdiff/releases/tag/v1.34.1)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/oasdiff-1.24.0-before-1.34.1-external-reference-policy-bypass-via-open](https://www.vulncheck.com/advisories/oasdiff-1.24.0-before-1.34.1-external-reference-policy-bypass-via-open)

- [Fix commithttps://github.com/oasdiff/oasdiff/commit/b762ae6335f6b22204b0f6c633604660464415a2](https://github.com/oasdiff/oasdiff/commit/b762ae6335f6b22204b0f6c633604660464415a2)

- [Fix commithttps://github.com/oasdiff/oasdiff/commit/5331dec281a3dd687d1e9f093961098efd66b2f2](https://github.com/oasdiff/oasdiff/commit/5331dec281a3dd687d1e9f093961098efd66b2f2)

- [Vulnerable codehttps://github.com/oasdiff/oasdiff/blob/v1.34.0/load/capture.go#L46-L62](https://github.com/oasdiff/oasdiff/blob/v1.34.0/load/capture.go#L46-L62)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134818](https://www.cve.org/CVERecord?id=CVE-2026-134818)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134818](https://nvd.nist.gov/vuln/detail/CVE-2026-134818)

**Severity:** High 7.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-134818)

**Package:** oasdiff

**Ecosystem:** Go

**Affected:** >= 1.24.0, < 1.34.1

**Fixed:** 1.34.1

**Weakness:** CWE-610

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
