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

Published Updated

Untrusted OpenAPI specs can bypass oasdiff's external-reference policy via --open to read local files or trigger HTTP requests.

CVSS score

High

7.1/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
Available
1.34.1
Attack path
Over the internet
No login, a user must click or open something

What is CVE-2026-134818?

CVE-2026-134818 is a high-severity security feature bypass vulnerability in oasdiff, published on 22 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-610

How severe is CVE-2026-134818?

CVE-2026-134818 scores 7.1 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
None
Availability
None

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

Which versions are affected by CVE-2026-134818?

1 open source package ship an affected version, including github.com/oasdiff/oasdiff.

Only installations with a non-default setting turned on are exposed.

PackageAffectedFixed in
github.com/oasdiff/oasdiff Go
pkg:golang/github.com/oasdiff/oasdiff
From 1.24.01.34.1

How do I fix CVE-2026-134818?

Upgrade github.com/oasdiff/oasdiff to 1.34.1 or later.

Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.

Is CVE-2026-134818 being exploited?

There is no known exploitation of CVE-2026-134818 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-47c8-8jj8-283x, GHSA-6h5x-f3qr-cp23.

Is CVE-2026-134818 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free