# CVE-2021-29134: Path Traversal in Gitea

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.45%, higher than 74% of CVEs (2026-12-01)
- Published: 2022-03-15T20:30:58.000Z
- Modified: 2026-09-08T08:47:32.759Z
- Also known as: GHSA-h3q4-vmw4-cpr5, BIT-GITEA-2021-29134, GO-2022-0353
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- code.gitea.io/gitea (Go): before 1.13.6
- gitea gitea: before 1.13.6
- gitea (Bitnami): before 1.13.6

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/go-gitea/gitea/pull/15125/files> (advisory, patch, third-party-advisory, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.13.6> (advisory, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29134> (advisory, web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/go-gitea/gitea/releases> (web)
- <https://github.com/advisories/GHSA-h3q4-vmw4-cpr5> (advisory)

## Sources

- CVE List: [CVE-2021-29134](https://www.cve.org/CVERecord?id=CVE-2021-29134), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-h3q4-vmw4-cpr5](https://github.com/advisories/GHSA-h3q4-vmw4-cpr5), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0353](https://pkg.go.dev/vuln/GO-2022-0353), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-29134](https://nvd.nist.gov/vuln/detail/CVE-2021-29134), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITEA-2021-29134](https://osv.dev/vulnerability/BIT-GITEA-2021-29134), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-29134 · Whole record: https://cve.day/CVE-2021-29134.json · Rebuilt by cve.day 2026-11-25T22:58:07.195Z
