CVE-2022-27313Gitea
High 7.5 No auth needed
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Gitea.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | 1.16.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory