CVE-2026-66849 Gitea restricted-user package visibility bypass

Medium 4.3 Published Updated

Restricted users can bypass visibility policies to enumerate and download packages owned by limited-visibility users in Gitea.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-66849?

CVE-2026-66849 is a medium-severity missing authorization vulnerability in Gitea, published on 14 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-284

Which versions are affected by CVE-2026-66849?

How do I fix CVE-2026-66849?

No fix has been published for CVE-2026-66849 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-66849 being exploited?

There is no known exploitation of CVE-2026-66849 in the wild and no public exploit code.

Sources

Also known as GHSA-px3q-x2mm-55wg.

Is CVE-2026-66849 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free