Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft OpenAPI spec with malicious $refs
-
DeliverySubmit spec to target git repository
-
ExploitCI/CD invokes oasdiff via git-revision input form
-
ExecutionExternal ref policy bypass silently resolves $refs
-
PersistSSRF reaches internal host or local file is read
-
ImpactAttacker exfiltrates credentials or sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires three concurrent conditions on the victim side: (1) the caller must explicitly set |
| Impact | No CVSS vector or EPSS score is provided in the available data, limiting quantitative risk comparison; all metric assessments below are independently derived from the vulnerability description. The vulnerability is narrow in scope but high in impact for the targeted population: it specifically affects callers who explicitly opted into the safer |
| Exploit ScenarioDerived | An attacker submits a pull request to a repository where CI/CD runs |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Security-control bypass in oasdiff v1.13.2-v1.18.0 silently negates the --allow-external-refs=false safety flag when loading OpenAPI specifications via the git-revision input form (rev:path, e.g. main:openapi.yaml), leaving callers exposed to SSRF and local file disclosure despite explicitly intending to sandbox untrusted spec processing. Malicious $ref URIs embedded in a spec - pointing to internal HTTP endpoints or local filesystem paths - are resolved on the git-revision load path even when the policy is set, while the file-path and URL load paths correctly enforce the restriction. No public exploit code has been identified at time of analysis and the vulnerability is not in CISA KEV; vendor-released patch v1.18.1 is available.
RemediationAI
Upgrade to oasdiff v1.18.1, which enforces the --allow-external-refs=false policy on the git-revision loading path and returns a dedicated exit code (123) when an external $ref is refused; the fix is implemented in PRs #974 and #975 (https://github.com/oasdiff/oasdiff/pull/974, https://github.com/oasdiff/oasdiff/pull/975). If upgrading immediately is not possible, the primary workaround is to avoid the git-revision input form (rev:path syntax, e.g. main:openapi.yaml) when processing untrusted OpenAPI specs with external refs disabled; instead, export each revision to a temporary file and pass the file path to oasdiff - the file-path loading form correctly enforced the policy in all affected versions. This workaround adds a pipeline step (git show > tmpfile) and sacrifices the convenience of the native git-revision syntax. Callers operating entirely within a trusted content environment (no untrusted spec input) face materially lower risk but should still upgrade to eliminate the latent exposure. The GitHub Security Advisory at https://github.com/oasdiff/oasdiff/security/advisories/GHSA-2jcc-mxv7-p3f9 is the authoritative reference.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
oasdiff is a Go library and CLI tool (pkg:go/github.com_oasdiff_oasdiff) for diffing OpenAPI 3.x specification files, commonly deployed in CI/CD pipelines to detect breaking API changes. The root cause is CWE-73 (External Control of File Name or Path): user-controlled data - specifically, external $ref strings embedded in an OpenAPI spec - can direct the loader to resolve arbitrary file-system paths or network URLs. The git-revision loading path (load.NewSpecInfo with rev:path syntax), introduced in v1.13.2 via PR #832 to support $ref-chain resolution when diffing git revisions, omitted the IsExternalRefsAllowed check that the file-path and URL loading paths correctly applied. This created a silent gap: calling code that set openapi3.Loader.IsExternalRefsAllowed = false to block external $ref resolution received no error and no warning, while the loader continued resolving external references on the git-revision code path. SSRF payloads can target internal HTTP endpoints (including cloud metadata services such as AWS IMDSv1), and file-scheme or bare-path references can read files accessible to the oasdiff process.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable via untrusted spec content; no privileges required to craft payload; scope changes because SSRF can compromise systems beyond the oasdiff process; no integrity or availability impact.
Primary rating from Vendor (https://github.com/oasdiff/oasdiff).
CVSS VectorVendor: https://github.com/oasdiff/oasdiff
Lifecycle Timeline
1DescriptionCVE.org
Summary
From v1.13.2 through v1.18.0, oasdiff did not enforce --allow-external-refs=false (library: openapi3.Loader.IsExternalRefsAllowed = false) when loading a spec from a git revision (the rev:path form, e.g. main:openapi.yaml). External $refs were resolved on that load path even when external refs were explicitly disabled, so the mitigation silently did not apply there.
Impact
A caller who set --allow-external-refs=false *specifically to safely process untrusted specs* remained exposed - on the git-revision load path only - to:
- SSRF via
$ref: "http://<internal-host>/…", and - Local file reads via
$ref: "/path"orfile://.
Affected callers:
- CLI:
oasdiff diff main:openapi.yaml HEAD:openapi.yaml --allow-external-refs=false(andbreaking/changelog/summary, and thegit-diff-driver) run over untrusted spec content. - Go library consumers of
github.com/oasdiff/oasdiff/loadthat setIsExternalRefsAllowed = falseand load from a git-revision source viaload.NewSpecInfo.
The file and URL load paths correctly enforced the setting; only the git-revision path was affected. Callers that left external refs at the default (true) are not in scope for *this* advisory.
Patches
v1.18.1 enforces the external-refs policy on the git-revision path (so --allow-external-refs=false now blocks external $refs there) and returns a dedicated exit code (123) when an external $ref is refused.
Workarounds
- Upgrade to v1.18.1, or
- Avoid the git-revision input form when processing untrusted specs with external refs disabled.
Notes
- Introduced in v1.13.2 (#832, which added
$ref-chain resolution on the git-revision path); fixed in v1.18.1 (#974, #975). - The permissive default (
allow-external-refs: true) and its zero-interaction exposure in CI via the GitHub Action is tracked separately in GHSA-fhj3-7267-7vv5 (oasdiff-action).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Same weakness CWE-73 – External Control of File Name or Path
View allVendor StatusVendor
SUSE
| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-68727
GHSA-2jcc-mxv7-p3f9
NVD
CVE.org
EPSS
Exploit-DB