Bug 2581301 (CVE-2026-134818)

Summary: CVE-2026-134818 github.com/oasdiff/oasdiff: oasdiff: Information disclosure via external reference policy bypass
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in oasdiff. When processing OpenAPI specifications with the review feature enabled, the application fails to enforce restrictions against resolving external references. An attacker can exploit this issue by supplying a crafted specification containing external reference pointers, forcing the application to read local files or issue unauthorized network requests. This flaw leads to information disclosure, as the retrieved contents may be exposed within the generated review bundle.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-22 21:33:13 UTC
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.