CVE-2021-29134Gitea
Medium 5.3 No auth needed
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Mar 15, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
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.13.6 |
1.13.6 |
go get code.gitea.io/gitea@v1.13.6 |
| Go | code.gitea.io/gitea |
< 1.13.6 |
1.13.6 |
go get code.gitea.io/gitea@v1.13.6 |
Per OSV / GitHub Advisories (GHSA-h3q4-vmw4-cpr5, GO-2022-0353). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | < 1.13.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory