# CVE-2024-52594: Server-Side Request Forgery (SSRF) on redirects and federation in gomatrixserverlib

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/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.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-01-16T18:57:29.333Z
- Modified: 2026-06-17T08:07:30.903Z
- Also known as: GHSA-4ff6-858j-r822, GO-2025-3396
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Gomatrixserverlib is a Go library for matrix federation. Gomatrixserverlib is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions. The commit `c4f1e01` fixes this issue. Users are advised to upgrade. Users unable to upgrade should use a local firewall to limit the network segments and hosts the service using gomatrixserverlib can access.

(As written by CVE List.)

## Affected

- matrix-org gomatrixserverlib: < c4f1e01eab0dd435709ad15463ed38a079ad6128
- github.com/matrix-org/gomatrixserverlib (Go): before 0.0.0-20250116181547-c4f1e01eab0d

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-4ff6-858j-r822> (web)
- <https://github.com/matrix-org/gomatrixserverlib/commit/c4f1e01eab0dd435709ad15463ed38a079ad6128> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52594> (advisory)
- <https://github.com/matrix-org/gomatrixserverlib> (package)
- <https://pkg.go.dev/vuln/GO-2025-3396> (web)

## Sources

- CVE List: [CVE-2024-52594](https://www.cve.org/CVERecord?id=CVE-2024-52594), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-4ff6-858j-r822](https://github.com/advisories/GHSA-4ff6-858j-r822), CC-BY-4.0, modified 2025-01-17
- Go Vulnerability Database: [GO-2025-3396](https://pkg.go.dev/vuln/GO-2025-3396), CC-BY-4.0, modified 2025-01-16
- NVD: [CVE-2024-52594](https://nvd.nist.gov/vuln/detail/CVE-2024-52594), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52594 · Whole record: https://cve.day/CVE-2024-52594.json · Rebuilt by cve.day 2026-11-25T22:58:51.089Z
