PT-2026-134880
CVE-2026-118395
·
Published
2026-11-01
·
Updated
2026-11-01
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Gitea versions prior to 1.27.3
Description
Personal access tokens restricted to public resources (
public-only) can be misused to create private resources. While certain endpoints were restricted, the following API endpoints still accept these tokens: POST /api/v1/org/{org}/repos, POST /api/v1/orgs/{org}/repos, POST /api/v1/orgs, and POST /api/v1/repos/{owner}/{repo}/generate. A user possessing a public-only token with appropriate write scopes can create private repositories within organizations where they have permission, create private organizations, and generate private repositories from templates. However, the token cannot read the private repositories it creates.Recommendations
Update Gitea to version 1.27.3 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾