Every CVE Search/ Get API key

CVE-2022-27313

Arbitrary file deletion in gitea

7.5 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.04%Up 0.2 points since May 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2022-27313
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Updated
2026-11-02
CVE List No score

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

Record
CVE-2022-27313
Updated
2026-11-02
EUVDEUVD-2022-3917 No score

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

Record
EUVD-2022-3917
Updated
2026-11-03
GitHub AdvisoriesGHSA-g7p7-x6w7-w6qg 7.5

Arbitrary file deletion in gitea

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

Record
GHSA-g7p7-x6w7-w6qg
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALPINE-CVE-2022-27313 7.5

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

Record
ALPINE-CVE-2022-27313
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVGHSA-g7p7-x6w7-w6qg 7.5

Arbitrary file deletion in gitea

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

Record
GHSA-g7p7-x6w7-w6qg
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBIT-gitea-2022-27313 No score

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

Record
BIT-gitea-2022-27313
Updated
2026-11-02
OSV No score

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

Record
CVE-2022-27313
Updated
2026-11-02
OSVGO-2022-0442 No score

Arbitrary file deletion in gitea in code.gitea.io/gitea

Arbitrary file deletion in gitea in code.gitea.io/gitea

Record
GO-2022-0442
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
code.gitea.io/gitea
Go
before 1.16.4
1.16.4
gitea
Alpine:v3.16
before 1.16.3-r0
1.16.3-r0
gitea
Alpine:v3.17
before 1.16.3-r0
1.16.3-r0
gitea
Alpine:v3.18
before 1.16.3-r0
1.16.3-r0
gitea
Alpine:v3.19
before 1.16.3-r0
1.16.3-r0
gitea
Alpine:v3.20
before 1.16.3-r0
1.16.3-r0
gitea
Alpine:v3.21
before 1.16.3-r0
1.16.3-r0
gitea
Alpine:v3.22
before 1.16.3-r0
1.16.3-r0
gitea
Alpine:v3.23
before 1.16.3-r0
1.16.3-r0
gitea
Alpine:v3.24
before 1.16.3-r0
1.16.3-r0
gitea
Bitnami
1.16.3 up to 1.16.4
1.16.4

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-27313 is a high vulnerability (CVSS 7.5) in Gitea, published May 3, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.04%, the 64th percentile. Fixed in code.gitea.io/gitea 1.16.4.

References

MoveEnter Open