Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2019-1000002

CVE-2019-1000002: Gitea Arbitrary File Delete Vulnerability

May 13, 2022 (updated April 24, 2024)

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.

References

  • github.com/advisories/GHSA-j99q-rwp6-498g
  • github.com/go-gitea/gitea
  • github.com/go-gitea/gitea/pull/5631
  • nvd.nist.gov/vuln/detail/CVE-2019-1000002

Code Behaviors & Features

Detect and mitigate CVE-2019-1000002 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.6.3

Fixed versions

  • 1.6.3

Solution

Upgrade to version 1.6.3 or above.

Impact 6.5 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/code.gitea.io/gitea/CVE-2019-1000002.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:56 +0000.