# CVE-2026-119547: Forgejo GetPublicKey API information disclosure

Source: https://junglewise.ai/threats/cve-2026-119547-forgejo-through-15-0-11-16-0-0-through-16-0-7-and-17-0-0-through  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-30. Updated: 2026-10-30  
License: CC BY 4.0 with a link back

CVE-2026-119547 · Severity: medium · CVSS 4.3 · Published 2026-10-30

Forgejo is a self-hosted code forge platform. An authenticated user can enumerate other users' SSH and deploy keys by exploiting a missing ownership check in the key lookup API, obtaining key titles, fingerprints, and the public key material itself.

Technologies: [Forgejo](https://junglewise.ai/threats/technologies/forgejo). Vendors: [Forgejo](https://junglewise.ai/threats/vendors/forgejo).

## Quick answers

**Is CVE-2026-119547 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-119547 being exploited in the wild.

**How severe is CVE-2026-119547?** Medium severity, with a CVSS score of 4.3, published 30 October 2026.

**Which products and versions are affected?** Forgejo through 15.0.11, 16.0.0 through 16.0.7, 17.0.0 through 17.0.1.

**Is there a fix for CVE-2026-119547?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-119547 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-119547?** Check whether you run Forgejo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The GetPublicKey API handler in Forgejo loads public keys by numeric ID without verifying ownership, allowing any authenticated user with read:user scope to enumerate sequential key IDs. The handler returns key titles, fingerprints, and public key blobs for SSH, deploy, and principal keys belonging to other users. The IDOR is present in versions through 15.0.11, 16.0.0–16.0.7, and 17.0.0–17.0.1; the GPG key handler correctly restricts to the current user and 404s on foreign IDs, but the SSH/deploy key handler does not.

## Affected products

- Forgejo Forgejo through 15.0.11, 16.0.0 through 16.0.7, 17.0.0 through 17.0.1

## Timeline

- 2026-10-30: disclosed
- 2026-10-30: advisory

## References

- [https://abraxaslabs.tech/research/forgejo-keys-idor](https://abraxaslabs.tech/research/forgejo-keys-idor)
- [https://codeberg.org/forgejo/forgejo](https://codeberg.org/forgejo/forgejo)

## Related threats

- [Forgejo path traversal in restore-repo](https://junglewise.ai/threats/cve-2026-119546-forgejo-through-15-0-11-16-0-0-through-16-0-7-and-17-0-0-through)
- [Forgejo server-side request forgery in OpenID discovery](https://junglewise.ai/threats/cve-2026-119545-forgejo-through-15-0-11-16-0-0-through-16-0-7-and-17-0-0-through)
- [Forgejo ActivityPub identity spoofing via unbound HTTP signature](https://junglewise.ai/threats/cve-2026-90679-forgejo-activitypub-identity-spoofing-via-unbound-http-signature)
- [Forgejo authorization bypass in API pull request editing](https://junglewise.ai/threats/cve-2026-89151-forgejo-authorization-bypass-in-api-pull-request-editing)
- [Forgejo remote code execution in template expansion](https://junglewise.ai/threats/cve-2026-89094-forgejo-remote-code-execution-in-template-expansion)
