Live threats

All CVEs / Gitea

CVE-2026-117685Gitea

Information Disclosure in Gitea OCI Registry due to Insufficient Permission Val…

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Nov 1, 2026
Updated
Nov 6, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

Gitea's OCI registry incorrectly validates permissions during cross-repository blob mounting. A token with `public-only` scope and `write:package` permission can mount private blobs into public packages, allowing anyone to download private content such as container layers. The vulnerability requires the token owner to have read access to private packages and write access to public namespaces.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 28.3.0

Update Gitea to version 28.3.0 or later to fix the permission validation in OCI registry blob mounting.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for Gitea.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.