CVE-2021-29134
Path Traversal in Gitea
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
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
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.3
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Record
CVE-2021-29134- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
CVE List No score
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Record
CVE-2021-29134- Updated
- 2026-11-02
EUVDEUVD-2022-1436 No score
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Record
EUVD-2022-1436- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h3q4-vmw4-cpr5
5.3
Path Traversal in Gitea
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Record
GHSA-h3q4-vmw4-cpr5- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-29134
5.3
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Record
ALPINE-CVE-2021-29134- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-03
OSV
5.3
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Record
CVE-2021-29134- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-h3q4-vmw4-cpr5
5.3
Path Traversal in Gitea
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Record
GHSA-h3q4-vmw4-cpr5- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVBIT-gitea-2021-29134 No score
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Record
BIT-gitea-2021-29134- Updated
- 2026-11-02
OSVGO-2022-0353 No score
Path Traversal in Gitea in code.gitea.io/gitea
Path Traversal in Gitea in code.gitea.io/gitea
- Record
GO-2022-0353- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
code.gitea.io/giteaGo |
before 1.13.6 | 1.13.6 |
giteaAlpine:v3.14 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.15 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.16 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.17 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.18 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.19 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.20 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.21 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.22 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.23 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaAlpine:v3.24 |
before 1.13.6-r0 | 1.13.6-r0 |
giteaBitnami |
before 1.13.6 | 1.13.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-29134 is a medium vulnerability (CVSS 5.3) in Gitea, published March 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in code.gitea.io/gitea 1.13.6.