Vulnerability · Published Aug 13, 2026 · Assigned by Gitea

CVE-2026-24791Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes

High 8.1

In plain English

A high-severity incorrect authorization in Gitea Open Source Git Server from Gitea. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.4%top 60.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gocode.gitea.io/gitea1.26.2GHSA-wrr5-99h5-gq57
Gocode.gitea.io/gitea1.26.2GO-2026-5721

Affected products (as reported)

VendorProductVersions
Gitea Gitea Open Source Git Server 1.22.3 – through 1.26.1

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References