Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-119547

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

forgejo forgejo

Default version status: unaffected

  • 0 to ≤ 15.0.11affected
  • 16.0.0 to ≤ 16.0.7affected
  • 17.0.0 to ≤ 17.0.1affected

References