Live threats

All CVEs / Gitea

CVE-2021-29134Gitea

Medium 5.3 No auth needed

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.

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.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)

VendorProductVersions
giteagitea< 1.13.6

Official sources

References

Links published by the sources. Open them with care.