Live threats

All CVEs / Gitea

CVE-2022-27313Gitea

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
May 3, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An arbitrary file deletion vulnerability in Gitea v1.16.3 allows attackers to cause a Denial of Service (DoS) via deleting the configuration file.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

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

Per OSV / GitHub Advisories (GHSA-g7p7-x6w7-w6qg, GO-2022-0442). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea1.16.3

Official sources

References

Links published by the sources. Open them with care.