Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-119546— Forgejo through 15.0.11, 16.0.7, and 17.0.1 Path Traversal via restore-repo

Quick assessment

Affected
forgejo forgejo
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Forgejo 15.0.11 及更早版本、16.0.0 至 16.0.7 版本,以及 17.0.0 至 17.0.1 版本中, 功能存在路径遍历漏洞。攻击者可利用精心构造的资源路径,读取备份目录之外的文件。具体而言,攻击者可提供一个备份文件,使其 中的 或 包含 序列;当管理员恢复该备份时,系统会将诸如 等敏感文件作为发布附件导入。

CVSS 5.5 · Medium

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-119546

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Forgejo through 15.0.11, 16.0.7, and 17.0.1 Path Traversal via restore-repo
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
forgejo forgejo 0 ~ 15.0.11 -

II. Public POCs for CVE-2026-119546

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-119546

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-119546 (1)

Vendor Pages for CVE-2026-119546 (1)

Other References for CVE-2026-119546 (4)

Same Patch Batch · forgejo · 2026-10-30 · 3 CVEs total

CVE-2026-119545 5.3 MEDIUM Forgejo through 15.0.11, 16.0.7, and 17.0.1 SSRF via OpenID Discovery
CVE-2026-119547 4.3 MEDIUM Forgejo through 15.0.11, 16.0.7, and 17.0.1 Information Disclosure via /api/v1/user/keys/{

IV. Related Vulnerabilities