CVE Catalog

CVE-2026-119547

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

Attackers can obtain public key information of other users, potentially facilitating further attacks and breaching user privacy.

Recommendation

Update Forgejo to a version containing the fix (later than the listed ranges). Until then, consider restricting access to the GetPublicKey API.

Other vulnerabilities in Forgejo

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS