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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-119547— Forgejo through 15.0.11, 16.0.7, and 17.0.1 Information Disclosure via /api/v1/user/keys/{id}

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 存在信息泄露漏洞。该漏洞源于 GetPublicKey API 处理器在密钥查询时未进行所有权检查。拥有 令牌或会话的已认证用户,可通过枚举连续的密钥 ID,获取其他用户的 SSH 密钥、部署密钥和主密钥的标题、指纹及公钥材料。

CVSS 4.3 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-119547

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 Information Disclosure via /api/v1/user/keys/{id}
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 an information disclosure vulnerability in the GetPublicKey API handler that lacks an ownership check on key lookups. Authenticated users with a read:user token or session can enumerate sequential key IDs to obtain titles, fingerprints and public key material of other users' SSH, deploy and principal keys.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/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-119547

# 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-119547

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

Vendor Pages for CVE-2026-119547 (1)

Other References for CVE-2026-119547 (4)

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

CVE-2026-119546 5.5 MEDIUM Forgejo through 15.0.11, 16.0.7, and 17.0.1 Path Traversal via restore-repo
CVE-2026-119545 5.3 MEDIUM Forgejo through 15.0.11, 16.0.7, and 17.0.1 SSRF via OpenID Discovery

IV. Related Vulnerabilities