Live threats

All CVEs / Gitea

CVE-2019-1000002Gitea

Medium 6.5

Priority
39
CVSS 3.0
6.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 67
Auth required
Yes
Published
Feb 4, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go code.gitea.io/gitea < 1.6.3 1.6.3 go get code.gitea.io/gitea@v1.6.3

Per OSV / GitHub Advisories (GHSA-j99q-rwp6-498g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea≤ 1.6.2

Official sources

References

Links published by the sources. Open them with care.