SecurityContext

CVE-2026-70396: Gitea - Broken Access Control

  • Cve: CVE-2026-70396
  • Name: Gitea - Broken Access Control
  • Description: Gitea's organization repository-creation API requires write:organization but omits the write:repository token scope enforced by other repository-creation routes. A personal access token or OAuth application token without repository-write scope can therefore create organization-owned repositories if the authorizing user has permission to do so. This bypasses the token's delegated scope boundary while remaining subject to the user's organization permissions.
  • Impact: Attackers can create organization-owned repositories without proper repository-write token scope, potentially leading to unauthorized repository creation.
  • Remediation: Update to the latest version that enforces write:repository token scope on organization repository-creation API.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: broken_access_control
  • Requirement type: logged_in
  • Requirements: Attacker must have user permissions in the organization
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
  • Epss score: 0.00404
  • Epss percentile: 0.35439
  • Assignee: 88ee5874-cf24-4952-aea0-31affedb7ff2
  • Published at: 2026-10-14T15:17:22Z
  • Age in days: 41
  • Modified at: 2026-10-18T14:16:55Z
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-70396
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-863Incorrect Authorization

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://blog.gitea.com/release-of-1.27.3/
https://github.com/go-gitea/gitea/pull/39007
https://github.com/go-gitea/gitea/pull/39014
https://github.com/go-gitea/gitea/releases/tag/v1.27.3
https://github.com/go-gitea/gitea/security/advisories/GHSA-hxhc-246f-rvqc

Products

ProductAffectedPlatform boundSourcesUrl
gitea:gitea<= 1.27.2nocna_alias/v1/products/gitea/gitea

Projects

RepositoryLink kindsIndexedUrl
go-gitea/giteapull, releases, security_advisoryyes/v1/repositories/go-gitea/gitea

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 33493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports