patchminder
Proof of concept · GitHub CVE-2026-28699

Broken access controlin Gitea Open Source Git Server.

Published 3 Jul 2026 · Updated 6 Jul 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 8.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.26.2 or later
In plain words

Gitea versions up to and including 1.26.1 allow OAuth2 access token scope enforcement to be bypassed through HTTP Basic authentication.

What to do now
  • Upgrade code.gitea.io/gitea (Go) to 1.26.2 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Gitea Open Source Git Server
1.26.1 and earlier
Not confirmed
CVE record
code.gitea.io/gitea (Go)
before 1.26.2
1.26.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 3 Mar 2026
    CVE ID reserved by Gitea.
  2. 11 Jun 2026
    First public proof of concept on GitHub.
  3. 3 Jul 2026
    Published in the CVE List.
  4. 6 Jul 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundAlardiians/gitea-CVE-2026-286991 stars · created 11 Jun 2026Lab + writeup for CVE-2026-28699: Gitea OAuth2 scope enforcement bypass via HTTP Basic auth

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Open Source Git Server vulnerabilities

Same weakness: Improper access control

All CWE-284 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-28699: Broken access control in Gitea Open Source Git Server. https://patchminder.com/cve/cve-2026-28699/ (accessed 5 December 2026).