ZeroHour

CVE-2026-53507

niche

SSRF and file disclosure in oasdiff-action GitHub Action via fork PR $refs

CVSS 4.0
8.3 high
EPSS
<1%p21
Published
()
Modified
AI analysis

oasdiff-action, a GitHub Action that flags breaking OpenAPI changes on pull requests, resolved external $refs by default (allow-external-refs: true) in all versions before 0.0.51. When the action runs on a pull request whose spec is attacker-controlled — most notably fork pull requests against public repositories — the action fetches or reads the referenced resource on the runner with no user interaction required. An attacker gains SSRF (causing the runner to make network requests to attacker-specified targets, potentially including internal or metadata endpoints reachable from the runner) and disclosure of structured files on the runner, whose contents can surface in the action's output or PR review. Affected users are any GitHub workflows running oasdiff-action before 0.0.51, with the highest risk on public repositories that accept fork pull requests. There is no known public proof-of-concept, exploitation is not listed in CISA KEV, and EPSS estimates only a 0.3% chance of exploitation in the next 30 days.

What to do: Upgrade oasdiff-action to version 0.0.51 or later, or explicitly set allow-external-refs: false in the workflow as a mitigation. Prioritize public repositories that trigger the action on fork pull requests, and consider reviewing recent workflow runs and rotating any secrets available to affected jobs. With no known exploitation or public PoC, patching can follow normal cycles but should not be deferred for high-risk fork-PR workflows.

Affected
oasdiff (GitHub Action; advisory issued by GitHub [email protected] oasdiff-actionall versions before 0.0.51 (patched in 0.0.51)
Estimated exposure
nichelikely hundreds to a few thousand repositories/workflows (estimate; no public install metric) — GitHub Actions have no central active-install count, so the estimate rests on the tool's niche deployment pattern — CI workflows in API-maintaining projects — with the highest-risk subset being public repositories that run the action on…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

oasdiff-action is a GitHub Action that detects breaking changes in OpenAPI specs and post a review on every pull request. Before version 0.0.51, the oasdiff actions resolved external $refs in the OpenAPI spec by default (allow-external-refs: true). When an action runs on a pull request whose spec is attacker-controlled — most importantly fork pull requests on public repositories — a $ref in that spec is fetched/read on the runner with no interaction required, enabling SSRF and disclosure of structured files on the runner. This issue has been patched in version 0.0.51.

Weakness
CWE-200, CWE-918, CWE-1188
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.