CVE-2022-27313
HIGH 7.5CVSS 3.1Arbitrary 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.
- Published
- 3 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- BIT-gitea-2022-27313GHSA-g7p7-x6w7-w6qgGO-2022-0442
- Sources
- NVDJSONOSV GHSA-g7p7-x6w7-w6qgJSONOSV GO-2022-0442JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:1.16.3:*:*:*:*:*:*:* |
= 1.16.3 | |
| OSV | Go | code.gitea.io/gitea | < 1.16.4 | 1.16.4 |
References
- https://github.com/go-gitea/gitea/pull/19072 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-27313 · ADVISORY
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/go-gitea/gitea/releases/tag/v1.16.4 · WEB
- https://github.com/advisories/GHSA-g7p7-x6w7-w6qg · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 May 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 May 2022)