CVE-2026-119547: forgejo · Insecure Direct Object Reference
Affects forgejoSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 30 Oct 2026, 12:04 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 issuance to trusted users only and monitor access to the GetPublicKey API. Avoid exposing this API endpoint to untrusted authenticated users.
Description
CVE-2026-119547 is an information disclosure vulnerability in Forgejo affecting versions up to 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1. The flaw exists in the GetPublicKey API handler, which does not properly check ownership when looking up keys. Authenticated users with read:user tokens or sessions can enumerate sequential key IDs to access titles, fingerprints, and public key material of other users' SSH, deploy, and principal keys.
References
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/routers/api/v1/user/key.go (opens in a new tab)
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/models/asymkey/ssh_key.go (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)
- 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)