Improper Restriction of Security Token Assignment in Gitea - CVE-2026-58429

 

Improper Restriction of Security Token Assignment in Gitea - CVE-2026-58429

Published: July 14, 2026


Vulnerability identifier: #VU137453
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-58429
CWE-ID: CWE-1259
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 organization and permission endpoints when handling requests with a public-only personal access token. A remote privileged user can send a specially crafted request to disclose sensitive information.

The issue affects GET /api/v1/user/orgs and GET /api/v1/users/{username}/orgs/{org}/permissions. A public-only token for a user who belongs to private organizations can reveal private organization membership and organization role details for that same account.


Affected software

Gitea

How to mitigate CVE-2026-58429

Install security update from vendor's website.

Gitea - update to 1.27.0

External References

Related Security Bulletins