3.1low
Open redirect in user_saml via RelayState parameter in Nextcloud User Saml
- Severity
- 3.1low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.45% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nextcloud security-advisories | >= 5.0.0, < 5.1.5, >= 5.2.0, < 5.2.5, >= 6.0.0, < 6.0.1 | CVE List |
| nextcloud sso_&_saml_authentication | from 5.0.0 before 5.1.5, from 5.2.0 before 5.2.5, 6.0.0 | NVD |
All scores
| GitHub_M | 3.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Nextcloud User Saml es una aplicación para autenticar a los usuarios de Nextcloud mediante SAML. En las versiones afectadas, a los usuarios se les puede proporcionar un enlace al servidor de Nextcloud y terminar en un servidor de terceros no controlado. Se recomienda actualizar la aplicación User Saml a la versión 5.1.5, 5.2.5 o 6.0.1. No se conocen workarounds para este problema.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-22400 changed 2025-06-17 | CVE Terms of Use |
| NVD | CVE-2024-22400 changed 2026-06-17 | Public domain |