Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-119547 EUVD-2026-113812GHSA-5fqg-pfrh-8fj8

Forgejo through 15.0.11, 16.0.7, and 17.0.1 Information Disclosure via /api/v1/user/keys/{id}

Published Oct 30, 2026 · Updated Nov 5, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
forgejo forgejo ≤ 15.0.11, 16.0.0 – ≤ 16.0.7, 17.0.0 – ≤ 17.0.1 —

References