CVE-2026-119547Forgejo authorization bypass through user-controlled key (IDOR)
CVSS score
5.3
Medium
CVSS 4.0 from vulncheck.com
Exploit probability (EPSS)
0.36%
0.36% chance of exploitation in the next 30 days, higher than 30.7% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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: NVD · CNA: disclosure@vulncheck.com
How to fix it, step by step
Check whether you're affected
Find every system running Forgejo and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| Forgejo Forgejo | ≤ 15.0.11 · ≥ 16.0.0, ≤ 16.0.7 · ≥ 17.0.0, ≤ 17.0.1 |
Weakness
- CWE-639 authorization bypass through user-controlled key (IDOR)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-119547 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-119547?
CVE-2026-119547 has a CVSS 4.0 base score of 5.3 (medium).
Which versions are affected?
Forgejo Forgejo (≤ 15.0.11; ≥ 16.0.0, ≤ 16.0.7; ≥ 17.0.0, ≤ 17.0.1)
Is there a patch for CVE-2026-119547?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- abraxaslabs.tech/research/forgejo-keys-idor
- codeberg.org/forgejo/forgejo
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/models/asymkey/ssh_key.go#L139-L143
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/routers/api/v1/user/key.go#L191
- www.vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-information-disclosure-via-api-v1-user-keys-id
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.