Path Traversal in Forgejo
CVE-2026-119546
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/services/migrations/restore.go (technical-description)
- abraxaslabs.tech/research/forgejo-restore-file-open (third-party-advisory)
- github.com/go-gitea/gitea/pull/38215 (issue-tracking, related, patch)
- github.com/go-gitea/gitea/security/advisories/GHSA-xmj7-xj85-hfc3 (related, vendor-advisory)
- codeberg.org/forgejo/forgejo (product)
- www.vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-path-tra… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-119546?
- CVE-2026-119546 is a medium-severity vulnerability in Forgejo, classified under Path Traversal. CVSS score: 5.5/10. Published 2026-10-30.
- How severe is CVE-2026-119546?
- Medium severity. CVSS v3 base score is 5.5 out of 10.