Advisory

GHSA-3573-4c68-g8cc

Also known as: CVE-2026-22032

Summary

Directus has open redirect in SAML

Details

Security Advisory: Open Redirect in Directus SAML Authentication

Summary

An open redirect vulnerability exists in the Directus SAML authentication callback endpoint. The RelayState parameter is used in redirects without proper validation against an allowlist of permitted domains.

Vulnerability Description

During SAML authentication, the RelayState parameter is intended to preserve the user's original destination. However, while the login initiation flow validates redirect targets against allowed domains, this validation is not applied to the callback endpoint. This allows an attacker to craft a malicious authentication request that redirects users to an arbitrary external URL upon completion.

The vulnerability is present in both the success and error handling paths of the callback.

Impact

  • Phishing: Users can be redirected to attacker-controlled sites that mimic legitimate login pages
  • Credential theft: Chained attacks may leverage the redirect to capture OAuth tokens or authorization codes
  • Trust erosion: Users may lose confidence in the application's security posture

This vulnerability can be exploited without authentication.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-06 19:22 UTC
Modified
2026-02-03 03:15 UTC

Affected packages and fixes

directus

npm · All systems

Affected

  • introduced 0, fixed 11.14.0 (semver)

Fixed versions

11.14.0

Fix

@directus/api

npm · All systems

Affected

  • introduced 0, fixed 32.1.1 (semver)

Fixed versions

32.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences