CVE-2026-119546: forgejo · Path Traversal
Affects forgejoSource CVE Database V5
Not known to be exploited · CVSS 6.8 Medium.
Data as of 30 Oct 2026, 12:04 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 6.8 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 5.5 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| forgejoforgejo | Affected
| Fixed in– |
GitHubforgejo/forgejopkg:github/forgejo/forgejoOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should check the vendor advisory for updates and apply any official patches once available. Until then, administrators should exercise caution when restoring repositories from untrusted sources to avoid importing malicious dumps containing crafted paths.
Description
Forgejo versions through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1 contain a path traversal vulnerability in the restore-repo functionality. This flaw allows attackers to read files outside the intended dump directory by supplying crafted asset paths with '../' sequences. Specifically, attackers can manipulate the release.yml file's DownloadURL or PatchURL to import arbitrary files, such as app.ini, as release attachments during repository restoration by an administrator.
References
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/services/migrations/restore.go (opens in a new tab)
- abraxaslabs.tech/research/forgejo-restore-file-open (opens in a new tab)
- github.com/go-gitea/gitea/pull/38215 (opens in a new tab)
- github.com/go-gitea/gitea/security/advisories/GHSA-xmj7-xj85-hfc3 (opens in a new tab)
- codeberg.org/forgejo/forgejo (opens in a new tab)
- vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-path-traversal-via-restore-repo (opens in a new tab)