Read the docs

Gitea version 1.6.2 and earlier contains a Incorrect Access Control vulnerability in…

Priority LOW 31CWE-284Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-284.

Summary

Gitea version 1.6.2 and earlier contains a Incorrect Access Control vulnerability in Delete/Edit file functionallity that can result in the attacker deleting files outside the repository he/she has access to. This attack appears to be exploitable via the attacker must get write access to "any" repository including self-created ones.. This vulnerability appears to have been fixed in 1.6.3, 1.7.0-rc2.

Why it matters now

EPSS 0.01107 66th percentileScored 2026-11-07
Fix Fixed code.gitea.io/gitea (Go): 1.6.3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—code.gitea.io/gitea (Go)before 1.6.31.6.3Patch availableGHSA-j99q-rwp6-498g
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • code.gitea.io/gitea (Go) Vendor— Affected before 1.6.3 Fixed in 1.6.3 Patch available GHSA-j99q-rwp6-498g

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*up to 1.6.2VulnerableGitea
  • cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* Versions up to 1.6.2 Vulnerable ·Gitea

Remediation

  • Fix · GHSA-j99q-rwp6-498g code.gitea.io/gitea (Go) Fixed in 1.6.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-1000002
  2. 2026-10-03 Alias added: GHSA-j99q-rwp6-498g

References

  • TI-2026-42785 Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation. KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-11072 The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote… CVSS 3.1HIGH 7.2
  • TI-2022-12910 Gitea before 1.16.7 does not escape git fetch remote. CVSS 3.1HIGH 7.5
  • TI-2019-08404 models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror… CVSS 3.1HIGH 8.8
  • TI-2022-00955 Open Redirect on login in go-gitea/gitea CVSS 3.1MEDIUM 6.1
  • TI-2026-68968 Push-to-create bypass of FORCE_PRIVATE policy in Gitea CVSS 3.1MEDIUM 5.4
See all 80 →

Sources