StraitOfVuln
Latest / CVE-2026-118395

CVE-2026-118395

HighCVSS 7.5 (v3.1)Deferred
CVE.org ↗NVD ↗

Description

Gitea 1.27.3 stopped personal access tokens restricted to public resources (`public-only`) from creating repositories through `POST /api/v1/user/repos` and `POST /api/v1/repos/migrate`, but `POST /api/v1/org/{org}/repos`, `POST /api/v1/orgs/{org}/repos`, `POST /api/v1/orgs` and `POST /api/v1/repos/{owner}/{repo}/generate` still accepted such tokens. A holder of a public-only token with the needed write scopes could create private repositories in organizations where the token's owner may create repositories, create private organizations, and generate private repositories from templates. The token still could not read the private repositories it created.

Details

CVE ID
CVE-2026-118395
Published / updated
01 Nov 2026, 10:18 UTC · last modified 06 Nov 2026, 16:17 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network
Affected vendor
Gitea
Affected products
Gitea
Affected versions
Gitea: before 28.3.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Gitea 28.3.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.40% probability of exploitation in the next 30 days · 36% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
88ee5874-cf24-4952-aea0-31affedb7ff2