{"id":"CVE-2026-119546","aliases":[],"cve":{"records":[{"id":"CVE-2026-119546","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-30T10:53:24.377Z","published":"2026-10-30T11:30:59.315Z","modified":"2026-10-30T11:30:59.315Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-10-30T11:30:59.315Z"}],"references":[{"url":"https://codeberg.org/forgejo/forgejo/src/tag/v17.0.1/services/migrations/restore.go#L154","tags":["technical-description"],"source":"VulnCheck"},{"url":"https://abraxaslabs.tech/research/forgejo-restore-file-open","tags":["third-party-advisory"],"source":"VulnCheck"},{"url":"https://github.com/go-gitea/gitea/pull/38215","tags":["related","patch","issue-tracking"],"source":"VulnCheck"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-xmj7-xj85-hfc3","tags":["related","vendor-advisory"],"source":"VulnCheck"},{"url":"https://codeberg.org/forgejo/forgejo","tags":["product"],"source":"VulnCheck"},{"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"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-22","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","source":"VulnCheck"}],"applicability":[{"source":"VulnCheck","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*","versionEndIncluding":"15.0.11"},{"vulnerable":true,"criteria":"cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*","versionStartIncluding":"16.0.0","versionEndIncluding":"16.0.7"},{"vulnerable":true,"criteria":"cpe:2.3:a:forgejo:forgejo:*:*:*:*:*:*:*:*","versionStartIncluding":"17.0.0","versionEndIncluding":"17.0.1"}]}]}]}],"prioritization":[]},"title":"Forgejo through 15.0.11, 16.0.7, and 17.0.1 Path Traversal via restore-repo","titleSource":"VulnCheck","descriptionSource":"VulnCheck","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.","score":6.8,"severity":"medium","published":"2026-10-30T11:30:59.315Z","modified":"2026-10-30T11:30:59.315Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"forgejo","name":"forgejo","platforms":[],"versions":[{"version":"0","status":"affected","lessThanOrEqual":"15.0.11","versionType":"semver"},{"version":"16.0.0","status":"affected","lessThanOrEqual":"16.0.7","versionType":"semver"},{"version":"17.0.0","status":"affected","lessThanOrEqual":"17.0.1","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2026-119546"}],"remediation":[],"references":["https://codeberg.org/forgejo/forgejo/src/tag/v17.0.1/services/migrations/restore.go#L154","https://abraxaslabs.tech/research/forgejo-restore-file-open","https://github.com/go-gitea/gitea/pull/38215","https://github.com/go-gitea/gitea/security/advisories/GHSA-xmj7-xj85-hfc3","https://codeberg.org/forgejo/forgejo","https://www.vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-path-traversal-via-restore-repo"],"sources":[{"name":"CVE","id":"CVE-2026-119546","modified":"2026-10-30T11:30:59.315Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-119546"}],"assessments":[{"source":"VulnCheck","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},{"source":"VulnCheck","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5}],"sourceAffected":[],"observedAt":"2026-10-30T11:36:36.624Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T09:10:30.844Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"Forgejo versions 15.0.11, 16.0.0-16.0.7, and 17.0.0-17.0.1 have a path traversal vulnerability in restore-repo, allowing attackers to read files outside the dump directory. Attackers can supply a crafted dump with ../ sequences in release.yml DownloadURL or PatchURL. This affects administrators who restore the dump.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T11:46:15.713Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-119546"}]}}