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.
Published: 2026-08-31
Score: 8.3 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

oasdiff-action is a GitHub Action that compares OpenAPI specifications and posts review comments on pull requests. Prior to version 0.0.51, the action resolved external $refs in the specification files by default, using the setting allow‑external‑refs: true. When a pull request contains a maliciously crafted spec, the action automatically fetches or reads the referenced URI on the CI runner without user interaction. This behavior allows an attacker to perform server‑side request forgery (SSRF) against internal or private resources and to read structured files on the runner, thereby leaking sensitive data.

Affected Systems

The vulnerability affects users who run oasdiff-action version 0.0.50 or earlier in any GitHub Workflow that processes pull‑request events. The affected product is the oasdiff-action GitHub Action for OpenAPI spec diffing. The fix is available starting with version 0.0.51, which disables external ref resolution by default.

Risk and Exploitability

The vulnerability has a CVSS score of 8.3, indicating a high severity. EPSS data is not available, so the current exploitation probability cannot be estimated, and the issue is not listed in the CISA KEV catalog. The likely attack scenario involves an attacker forking a public repository, creating a pull request that contains an OpenAPI spec with a malicious $ref, and relying on the default external ref resolution to trigger an SSRF or file disclosure on the CI runner. No additional environmental prerequisites are noted beyond the use of the public action in a workflow that triggers on pull requests.

Generated by OpenCVE AI on August 31, 2026 at 20:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the oasdiff-action step in your workflow to version 0.0.51 or newer, ensuring that the action no longer resolves external $refs by default
  • If you must use an older version for any reason, explicitly set allow-external-refs: false in the action configuration to block external ref resolution
  • Restrict the workflow to run only on pull requests from trusted contributors or collaborators, reducing the chance that an attacker can send a malicious spec to the runner

Generated by OpenCVE AI on August 31, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title oasdiff actions resolve external $refs by default, enabling SSRF and disclosure of structured files on pull-request runs
Weaknesses CWE-1188
CWE-200
CWE-918
References
Metrics cvssV4_0

{'score': 8.3, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-31T18:57:41.097Z

Reserved: 2026-06-09T17:05:25.059Z

Link: CVE-2026-53507

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-31T19:16:49.867

Modified: 2026-08-31T19:16:49.867

Link: CVE-2026-53507

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T20:30:05Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-918

    Server-Side Request Forgery (SSRF)