原始描述
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.
受影响的软件
- Forgejo ≤ 15.0.11≥ 17.0.0 ≤ 17.0.1≥ 16.0.0 ≤ 16.0.7 仓库或软件包匹配
详情
- 发布日期
- 2026-10-30
- 最后修改
- 2026-11-06
- CVSS 向量
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-639
- EPSS(30 天内被利用概率)
- 0.25% (百分位 17)
参考资料
- cve.org/CVE-2026-119547
- nvd.nist.gov/vuln/detail/CVE-2026-119547
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/routers/api/v1/user/key.go#L191
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/models/asymkey/ssh_key.go#L139-L143
- abraxaslabs.tech/research/forgejo-keys-idor
- codeberg.org/forgejo/forgejo
- www.vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-information-disclos...
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。