CVE-2026-103504 Gitea API team demotion not applied to unit permissions

High 8.1 Published Updated

Attackers can retain elevated write access to repositories after team demotion via API, bypassing intended permission restrictions.

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-103504?

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

Official description

Changing an organization team's permission through the API with only the `permission` field did not rebuild the team's per-unit access, and the requested level was not applied as a cap. After an organization owner demoted a team, for example from admin to read, the team's members kept their previous unit permissions, including write access to the team's repositories. The web form was not affected.

Weakness: CWE-272

Which versions are affected by CVE-2026-103504?

How do I fix CVE-2026-103504?

No fix has been published for CVE-2026-103504 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-103504 being exploited?

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

Sources

Also known as GHSA-x8c3-3rp8-2j46.

Is CVE-2026-103504 in your software?

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

Check your SBOMs for free