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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-10-14T14:28:15.535Z
- Modified: 2026-10-14T16:17:45.377Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- code.gitea.io/gitea: 1.25.4

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-9574-292w-9wmw> (vendor-advisory)
- <https://github.com/go-gitea/gitea/pull/36729> (patch)

## Sources

- CVE List: [CVE-2026-25946](https://www.cve.org/CVERecord?id=CVE-2026-25946), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2026-25946](https://nvd.nist.gov/vuln/detail/CVE-2026-25946), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-25946 · Whole record: https://cve.day/CVE-2026-25946.json · Rebuilt by cve.day 2026-11-25T22:59:44.668Z
