CVE-2026-25946GHSA-9574-292w-9wmw
Gitea OpenID discovery server-side request forgery
Gitea Gitea
CVSS
5.3MediumExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 14 Oct 2026. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.41%Chance of exploitation activity in the next 30 days, higher than 34% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 1.27.0code.gitea.io/gitea, goGitHub
go get code.gitea.io/gitea@v1.27.0
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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.
Text from CVE List
Affected versions 2
- Giteaaffected: 1.25.4CVE List
- code.gitea.io/gitea, go1.25.4GitHub