{"id":"CVE-2026-119546","aliases":["CVE-2026-119546"],"related":[],"kind":"vulnerability","state":"published","title":"Forgejo through 15.0.11, 16.0.7, and 17.0.1 Path Traversal via restore-repo","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T11:30:59.315Z","modified":"2026-11-04T15:17:40.920Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.8,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"15.0.11","status":"affected"},{"type":"semver","introduced":"16.0.0","lastAffected":"16.0.7","status":"affected"},{"type":"semver","introduced":"17.0.0","lastAffected":"17.0.1","status":"affected"}],"vendor":"forgejo","product":"forgejo","repo":"https://codeberg.org/forgejo/forgejo","source":"cvelist"}],"references":[{"url":"https://codeberg.org/forgejo/forgejo/src/tag/v17.0.1/services/migrations/restore.go#L154","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://abraxaslabs.tech/research/forgejo-restore-file-open","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/38215","tags":["issue-tracking","patch","related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-xmj7-xj85-hfc3","tags":["exploit","related","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://codeberg.org/forgejo/forgejo","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-path-traversal-via-restore-repo","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Abraxas Labs"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-04T15:09:20.363Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-119546","url":"https://www.cve.org/CVERecord?id=CVE-2026-119546","licence":"CVE Terms of Use","modified":"2026-11-04T15:09:46.692Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-119546","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-119546","licence":"Public domain","modified":"2026-11-04T15:17:40.920Z"}],"updatedAt":"2026-11-25T22:59:47.915Z","epss":{"score":0.00267,"percentile":0.20066,"date":"2026-12-01T12:00:22.000Z"}}