Forgejo through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1 contains an information disclosure
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium.
Data as of 30 Oct 2026, 13:48 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.3 |
| CNA | CVSS 4.0 | 5.3 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| forgejoforgejo | Affected
| Fixed in– |
GitHubforgejo/forgejopkg:github/forgejo/forgejoOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, restrict read:user token distribution and monitor access to the GetPublicKey API to limit exposure.
Description
Forgejo versions through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1 have an information disclosure vulnerability in the GetPublicKey API handler. This flaw allows authenticated users with read:user tokens or sessions to enumerate sequential key IDs and retrieve titles, fingerprints, and public key material of other users' SSH, deploy, and principal keys. The vulnerability arises due to a missing ownership check on key lookups.
References
- nvd.nist.gov/vuln/detail/CVE-2026-119547 (opens in a new tab)
- abraxaslabs.tech/research/forgejo-keys-idor (opens in a new tab)
- codeberg.org/forgejo/forgejo (opens in a new tab)
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/models/asymkey/ssh_key.go (opens in a new tab)
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/routers/api/v1/user/key.go (opens in a new tab)
- vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-information-disclosure-via-api-v1-user-keys-id (opens in a new tab)