NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-22032: Directus has open redirect in SAML

mediumCVSS 3.1 4.3GHSA-3573-4c68-g8cc

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.

Published Jan 6, 2026 · Updated Jan 8, 2026

Affected packages

directus

Ecosystem
npm
Affected
< 11.14.0
Fixed in
11.14.0
Check
npm ls directus

@directus/api

Ecosystem
npm
Affected
< 32.1.1
Fixed in
32.1.1
Check
npm ls @directus/api

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to im-soohyun, Seeunsama.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries