CVE-2026-119546
Forgejo through 15.0.11, 16.0.7, and 17.0.1 Path Traversal via restore-repo
- State
- Published
- Severity
- 6.8 Medium
- Published
- Oct 30, 2026
- Updated
- Oct 30, 2026
- Reserved
- Oct 30, 2026
Description
Forgejo through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1 contains a path traversal vulnerability in restore-repo that allows attackers to read files outside the dump directory via crafted asset paths. Attackers can supply a dump whose release.yml DownloadURL or PatchURL contains ../ sequences, importing files like app.ini as release attachments when an administrator restores it.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 5.5 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
forgejoforgejo |
|
References
- https://codeberg.org/forgejo/forgejo/src/tag/v17.0.1/services/migrations/restore.go#L154technical-description
- https://abraxaslabs.tech/research/forgejo-restore-file-openthird-party-advisory
- https://github.com/go-gitea/gitea/pull/38215relatedpatchissue-tracking
- GitHub Security Advisory (GHSA-xmj7-xj85-hfc3)relatedvendor-advisory
- https://codeberg.org/forgejo/forgejoproduct
- VulnCheck Advisory: Forgejo through 15.0.11, 16.0.7, and 17.0.1 Path Traversal via restore-repothird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.