# CVE-2024-22400: Open redirect in user_saml via RelayState parameter in Nextcloud User Saml

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/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.45%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-01-18T19:21:06.618Z
- Modified: 2026-06-17T07:11:20.173Z
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Nextcloud User Saml is an app for authenticating Nextcloud users using SAML. In affected versions users can be given a link to the Nextcloud server and end up on a uncontrolled thirdparty server. It is recommended that the User Saml app is upgraded to version 5.1.5, 5.2.5, or 6.0.1. There are no known workarounds for this issue.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 5.0.0, < 5.1.5; >= 5.2.0, < 5.2.5; >= 6.0.0, < 6.0.1
- nextcloud sso_&_saml_authentication: from 5.0.0 before 5.1.5; from 5.2.0 before 5.2.5; 6.0.0

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-622q-xhfr-xmv7> (vendor-advisory)
- <https://github.com/nextcloud/user_saml/pull/788> (patch)
- <https://github.com/nextcloud/user_saml/commit/b184304a476deeba36e92b70562d5de7c2f85f8a> (patch)
- <https://hackerone.com/reports/2263044> (permissions-required, third-party-advisory)

## Sources

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

---

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