Auth bypass in Forgejo
CVE-2026-119547
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/routers/api/v1/user/key.go (technical-description)
- codeberg.org/forgejo/forgejo/src/tag/v17.0.1/models/asymkey/ssh_key.go (technical-description)
- abraxaslabs.tech/research/forgejo-keys-idor (third-party-advisory)
- codeberg.org/forgejo/forgejo (product)
- www.vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-informat… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-119547?
- CVE-2026-119547 is a medium-severity vulnerability in Forgejo, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 4.3/10. Published 2026-10-30.
- How severe is CVE-2026-119547?
- Medium severity. CVSS v3 base score is 4.3 out of 10.