SecurityContext

CVE-2026-86684: Gitea - Broken Access Control

  • Cve: CVE-2026-86684
  • Name: Gitea - Broken Access Control
  • Description: The Gitea push mirror API checked whether the repository owner, instead of the requesting user, may use local file system paths. On instances with `[security] IMPORT_LOCAL_PATHS = true`, a repository administrator who is not allowed to import local paths could add a push mirror to a local path on the server when the repository owner has that permission. Gitea then pushed the repository's refs into an existing Git repository at that path with the permissions of the Gitea process.
  • Impact: Repository administrators can push repository refs to arbitrary local paths, potentially leading to unauthorized data modification or code execution with Gitea process permissions.
  • Remediation: Update to the latest version with the fix for local path import permission checks.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must have repository administrator privileges
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.1
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00146
  • Epss percentile: 0.03788
  • Assignee: 88ee5874-cf24-4952-aea0-31affedb7ff2
  • Published at: 2026-10-06T22:17:07Z
  • Age in days: 49
  • Modified at: 2026-10-13T18:05:50Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-86684
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-863Incorrect Authorization

Public exploits

UrlSourceAdded date
https://github.com/go-gitea/gitea/security/advisories/GHSA-7v5j-mph8-9w6gnvd2026-10-06

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-7v5j-mph8-9w6gExploit, Mitigation, Vendor 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>= 1.18.0, < 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

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-10-06
  • Authentication required: yes
  • Exposed hosts: 33493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports