CVE-2026-27771 Gitea Composer package source links use insufficient permission checks

High 8.2 Published Updated

Attackers can access private or internal Composer package source information due to insufficient permission checks in Gitea.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-27771?

CVE-2026-27771 is a high-severity missing authorization vulnerability in Gitea Open Source Git Server, published on 3 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Gitea versions up to and including 1.26.1 have insufficient permission checks for Composer package source links, which can expose private or internal package source information.

Weakness: CWE-862

Which versions are affected by CVE-2026-27771?

3 open source packages ship an affected version, including code.gitea.io/gitea.

PackageAffectedFixed in
code.gitea.io/gitea GoAll versions1.26.2
code.gitea.io/gitea GoAll versions1.26.2
code.gitea.io/gitea GoAll versions1.26.2

How do I fix CVE-2026-27771?

Upgrade code.gitea.io/gitea to 1.26.2 or later.

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

Is CVE-2026-27771 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27771 exists.

Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-8qw8-rq86-9pc2, GO-2026-6017.

Is CVE-2026-27771 in your software?

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

Check your SBOMs for free