CVE-2026-25946: Gitea OpenID discovery server-side request forgery

Published Oct 14, 2026
·
Updated

When OpenID sign-in is enabled, Gitea accepts a user-supplied OpenID URL and performs discovery requests without validating the destination against internal network addresses. An unauthenticated remote attacker can cause the server to contact loopback or private-network HTTP services. This can expose internal service behavior and enable interaction with resources that are not directly reachable by the attacker.

Affected Software

1 affected component
Gitea Gitea

Event History

Oct 14, 2026
CVE Published
via MITRE·02:28 PM
Data Sourced
via MITRE·02:28 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

Any unauthenticated remote attacker can exploit it if OpenID sign-in is enabled and can submit an OpenID URL to the Gitea instance.

2

What systems are at risk from the server-side request?

The attacker can cause Gitea to make HTTP requests to loopback or private-network services that are not directly reachable from the attacker. This may expose internal service behavior or permit interaction with those resources.

3

Is a default Gitea deployment affected?

The issue requires OpenID sign-in to be enabled. The provided information does not establish whether OpenID sign-in is enabled by default.

4

What can be done if patching is not immediately possible?

Disable OpenID sign-in to prevent user-supplied OpenID discovery URLs from triggering server-side requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203