CVE-2026-66849

Gitea restricted-user package visibility bypass

Published Oct 14, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
Gitea's package registry grants authenticated users read access to packages owned by Limited-visibility users without excluding restricted accounts. A restricted user can enumerate and download those packages despite the visibility policy that should prevent this access. The issue affects user-owned package registries and exposes package contents across the intended authorization boundary.

Analysis

AI-generated

Technical impact

The vulnerability allows an authenticated user to read packages owned by users marked as Limited-visibility. A protected package registry check failed to exclude accounts with a restricted user flag, permitting enumeration and download of these packages. The result is that package data, which may include source code or secrets, is exposed beyond its intended authorization boundary, constituting an access‑control breach (CWE‑284).

Affected Systems

The product affected is Gitea. No specific version range is listed in the advisory; the included references point to the 1.27.3 release, which contains the fix.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate severity. The EPSS score of < 1% points to an extremely low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog, further indicating limited risk. Attackers must be authenticated and have a restricted‑user account to exploit the flaw, making it a low‑to‑moderate risk scenario.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 1.27.3 or later to receive the package visibility fix
  • Review restricted‑user account settings and confirm that these accounts no longer have access to packages marked as of limited visibility
  • If upgrading immediately is not feasible, restrict authenticated users from accessing the package registry endpoint via network or application‑level controls as a temporary countermeasure

Generated by OpenCVE AI on October 15, 2026 at 19:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Description Gitea's package registry grants authenticated users read access to packages owned by Limited-visibility users without excluding restricted accounts. A restricted user can enumerate and download those packages despite the visibility policy that should prevent this access. The issue affects user-owned package registries and exposes package contents across the intended authorization boundary.
Title Gitea restricted-user package visibility bypass
Weaknesses CWE-284
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 14, 2026, 3:18 PM
Reserved
Aug 13, 2026, 4:50 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 14, 2026, 4:17 PM