CVE-2026-118395
Last modified
CVE-2026-118395 is a vulnerability of currently unknown severity. 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.
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 28.3.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-118395?
How severe is CVE-2026-118395?
How do I fix CVE-2026-118395?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-11838Missing authentication for critical function vulnerability i…4.3
- CVE-2026-118384GNU mtools before 4.0.50 has an out-of-bounds write in parse…6.1
- CVE-2026-118386Workflows triggered by a pull request review were read from …
- CVE-2026-11839Unrestricted upload of file with dangerous type vulnerabilit…9.9
- CVE-2026-118391Allocation of Resources Without Limits or Throttling vulnera…8.9
- CVE-2026-118394The OAuth2 userinfo endpoint (`/login/oauth/userinfo`) decid…
- CVE-2026-1184GitLab has remediated an issue in GitLab EE affecting all ve…7.5
- CVE-2026-11840Zohocorp ManageEngine Password Manager Pro versions before 1…8.8
- CVE-2026-118403The Premium Packages WordPress plugin before 7.3.1 does not…3.7
- CVE-2026-118404The Premium Packages WordPress plugin before 7.3.1 does not…5.3
- CVE-2026-118407The Premium Packages WordPress plugin before 7.3.1 does not…5.4
- CVE-2026-11841An attacker may perform unauthenticated read and write opera…9.4
Are you affected by CVE-2026-118395?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
