SecurityContext

CVE-2026-97208: Gitea - Broken Access Control

  • Cve: CVE-2026-97208
  • Name: Gitea - Broken Access Control
  • Description: The Gitea API endpoint for creating push mirrors (`POST /api/v1/repos/{owner}/{repo}/push_mirrors`) checked only whether mirroring was enabled and not the `[mirror] DISABLE_NEW_PUSH` setting that the web interface enforces. A repository administrator could therefore create new push mirrors on instances where the site administrator had disabled them. A push mirror pushes all refs of the repository to a remote chosen by the caller, on each commit or on a schedule.
  • Impact: Repository administrators can create push mirrors despite site-wide restrictions, potentially leading to unauthorized data replication.
  • Remediation: Update to the latest version where the API enforces the DISABLE_NEW_PUSH setting.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: broken_access_control
  • Requirement type: logged_in
  • Requirements: Attacker must have repository administrator privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00261
  • Epss percentile: 0.18032
  • Assignee: 88ee5874-cf24-4952-aea0-31affedb7ff2
  • Published at: 2026-10-06T22:17:07Z
  • Age in days: 49
  • Modified at: 2026-10-13T17:56:32Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-97208
  • Nvd status: analyzed
  • Checked, none or zero: 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
UrlTags
https://github.com/go-gitea/gitea/pull/39501Patch, Issue Tracking
https://github.com/go-gitea/gitea/pull/39507Patch, Issue Tracking
https://github.com/go-gitea/gitea/security/advisories/GHSA-8hhh-mqpg-jpxcVendor Advisory
https://blog.gitea.com/release-of-28.1.0/Release Notes
https://github.com/go-gitea/gitea/releases/tag/v28.1.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
gitea:gitea< 28.1.0nonvd/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