Description
The OCI registry's cross-repository blob mount checked the target package against the token's `public-only` restriction, but checked the source blob only against the full account permissions of the token owner. A `public-only` token with `write:package` scope, whose owner can read a private package and write to a public package namespace, could mount a blob of the private package into the public package. The private blob, such as a container layer, could then be downloaded by anyone through the public package.
Published: 2026-11-01
Score: n/a
EPSS: n/a
KEV: No
Impact: Unauthorized disclosure of private OCI blobs via public-only token abuse
Action: Apply Patch
AI Analysis

Impact

A flaw in the OCI registry’s cross‑repository blob mount logic allowed a token that is supposed to grant only public package write access to also mount a private blob from a package accessible to the token owner. After mounting, the private blob becomes retrievable by anyone who can download the public package, exposing potentially sensitive container layers. This is an authorization bypass (CWE‑863), leading to confidential data leakage.

Affected Systems

Gitea installations that have not yet applied version 28.3.0. Users running Gitea v28.2.x or earlier are potentially impacted; the advisory indicates that upgrading to v28.3.0 resolves the issue.

Risk and Exploitability

The vulnerability requires a public‑only token with the write:package scope and an owner who also has read permission on a private package. An attacker who can obtain or create such a token can perform a blob mount and thereafter anyone can download the private content via the public repository. While the EPSS score is not available, the lack of listing in CISA KEV does not preclude exploit; the mechanism is straightforward once the prerequisites are met.

Generated by OpenCVE AI on November 1, 2026 at 11:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 28.3.0 or later to receive the fix that correctly enforces token restrictions on source blobs.
  • Restrict the use of public‑only tokens that have write:package scope; consider revoking this scope for tokens that can also read private packages.
  • If upgrading is not immediately possible, disable public‑only token creation or block cross‑repository blob mounts for public packages until a patch can be applied.

Generated by OpenCVE AI on November 1, 2026 at 11:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 01 Nov 2026 10:00:00 +0000

Type Values Removed Values Added
Description The OCI registry's cross-repository blob mount checked the target package against the token's `public-only` restriction, but checked the source blob only against the full account permissions of the token owner. A `public-only` token with `write:package` scope, whose owner can read a private package and write to a public package namespace, could mount a blob of the private package into the public package. The private blob, such as a container layer, could then be downloaded by anyone through the public package.
Title Gitea public-only package token access to private OCI blobs
Weaknesses CWE-863
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-11-01T09:48:46.825Z

Reserved: 2026-11-01T08:48:41.154Z

Link: CVE-2026-117685

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-01T10:18:35.933

Modified: 2026-11-01T10:18:36.033

Link: CVE-2026-117685

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-01T11:30:06Z

Weaknesses