Improper access control in Gitea - CVE-2026-66849

 

Improper access control in Gitea - CVE-2026-66849

Published: August 31, 2026


Vulnerability identifier: #VU146353
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-66849
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to improper access control in the package registry access check in determineAccessMode when handling requests for packages owned by Limited-visibility users. A remote user can enumerate and download package content to disclose sensitive information.

The issue affects restricted accounts that are logged in and applies to packages owned by Limited-visibility users.


Affected software

Gitea

How to mitigate CVE-2026-66849

Install security update from vendor's website.

Gitea - update to 1.27.3

External References

Related Security Bulletins