Oasdiff oasdiff-action
oasdiff actions resolve external $refs by default, enabling SSRF and disclosure of structured files on pull-request runs
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.0.51
Fixed in 0.0.51
Mitigation
Upgrade oasdiff-action to 0.0.51 or later.
References
- Vendor advisory github.com/oasdiff/oasdiff-action/security/adv…
- Patch github.com/oasdiff/oasdiff-action/pull/128
- Patch github.com/oasdiff/oasdiff-action/pull/129
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.