CVE-2026-55588

ORAS CLI: Cyclic Referrer Graph Can Cause Unbounded Recursion and Resource Consumption

Published Aug 25, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
ORAS (OCI Registry As Storage) is a CLI and library for managing artifacts in OCI registries. In ORAS CLI versions up to and including 1.3.2, the recursive referrer traversal does not track visited descriptors, so a malicious OCI registry that returns a cyclic referrer graph causes unbounded recursion and memory growth. This affects oras discover, whose recursive traversal is enabled by default because the --depth option defaults to 0 (unlimited), as well as the recursive referrer counting used by the oras backup and oras restore workflows. A cyclic graph can be as simple as A referring to B and B referring back to A. A malicious registry can use this to cause a client-side denial of service, exhausting CPU and memory and hanging automation or CI/CD pipelines that run ORAS against untrusted registry metadata. The vulnerability does not extend to code execution, artifact substitution, or integrity bypass. This issue has been fixed in version 1.3.3.

Analysis

AI-generated

Technical impact

The flaw lies in ORAS CLI’s recursive referrer traversal, which fails to record visited descriptors. A registry that supplies a cyclic referrer graph can cause the client to recurse indefinitely, with memory usage growing without bound. The result is a client‑side denial of service that can consume CPU and memory, potentially hanging automation or CI/CD pipelines. The vulnerability does not grant code execution, artifact substitution, or integrity bypass.

Affected Systems

The issue affects the ORAS project’s ORAS command‑line interface and library in versions up to and including 1.3.2. The discover command, which performs unlimited recursion by default, and the backup and restore workflows that count referrers are impacted. Any user running these commands against a malicious or untrusted OCI registry is at risk.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity vulnerability. EPSS information is not available, and the entry is not listed in CISA’s KEV catalog. The attack requires only a malicious registry that provides cyclic referrer data; an automated CI/CD job that invokes ORAS discover, backup, or restore can trigger the recursion. Because the flaw resides entirely on the client side and no special privileges are needed, the exploitation risk is considered moderate to high for environments that interact with untrusted registries.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ORAS to version 1.3.3 or later, where the client tracks visited descriptors and prevents infinite recursion.
  • Limit or disable recursive traversal by setting a finite --depth value or removing the recursion flag in backup and restore workflows.
  • Validate registry metadata before processing or enforce strict resource limits on CI/CD jobs that run ORAS, to prevent exhaustion scenarios.

Generated by OpenCVE AI on August 25, 2026 at 21:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-298f-872v-2rcx ORAS CLI: Cyclic Referrer Graph Can Cause Unbounded Recursion and Resource Consumption
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description ORAS (OCI Registry As Storage) is a CLI and library for managing artifacts in OCI registries. In ORAS CLI versions up to and including 1.3.2, the recursive referrer traversal does not track visited descriptors, so a malicious OCI registry that returns a cyclic referrer graph causes unbounded recursion and memory growth. This affects oras discover, whose recursive traversal is enabled by default because the --depth option defaults to 0 (unlimited), as well as the recursive referrer counting used by the oras backup and oras restore workflows. A cyclic graph can be as simple as A referring to B and B referring back to A. A malicious registry can use this to cause a client-side denial of service, exhausting CPU and memory and hanging automation or CI/CD pipelines that run ORAS against untrusted registry metadata. The vulnerability does not extend to code execution, artifact substitution, or integrity bypass. This issue has been fixed in version 1.3.3.
Title ORAS CLI: Cyclic Referrer Graph Can Cause Unbounded Recursion and Resource Consumption
Weaknesses CWE-400
CWE-674
CWE-835
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-674

    Uncontrolled Recursion

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 27, 2026, 2:35 PM
Reserved
Jun 16, 2026, 11:18 PM
Status
Deferred
Published
Aug 25, 2026, 9:17 PM
Modified
Sep 9, 2026, 9:07 PM