Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Impact | CVSS 6.1 (AV:N/AC:L/PR:N/UI:R/S:C) indicates moderate severity with network attack vector, low complexity, no privileges required, and user interaction necessary (UI:R). The user interaction requirement-users must click a crafted login link-lowers CVSS below 7.0, but the real-world risk is substantially higher than the score suggests. The vulnerability is not listed as KEV (CISA Known Exploited Vulnerabilities), and no public exploit code is referenced, indicating no confirmed active exploitation at analysis time. However, the attack is trivial to execute once a malformed URL is crafted, making proof-of-concept straightforward. The scope change (S:C) reflects cross-site impact: victims are redirected beyond the login application to attacker infrastructure. In SSVC terms, this is a high-priority finding: exploitation is straightforward (low complexity), automatable (URL crafting), and technical impact is high (phishing, token theft). The combination of low-friction exploitation, high business impact (SSO compromise, credential theft), and lack of active exploitation confirmation suggests this is a real-world priority despite moderate CVSS. |
| Exploit ScenarioDerived | An attacker crafts a phishing email containing a malicious login link: |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 04, 2026
Open redirect vulnerability in Directus login redirection logic allows unauthenticated attackers to bypass URL allow-list validation through malformed URLs containing backslashes, silently redirecting authenticated users to arbitrary external domains. The vulnerability exploits a parser differential between server-side validation and browser URL normalization, creating a phishing vector particularly dangerous in SSO/OAuth2 flows where attackers can capture authentication tokens without visible user indication. CVSS 6.1 reflects moderate real-world risk due to user interaction requirement and limited direct confidentiality impact, but the attack chain (authentication + silent redirect + credential theft) presents meaningful business risk.
RemediationAI
Apply the vendor-released patch by upgrading Directus to the patched version specified in the official GitHub Security Advisory (https://github.com/directus/directus/security/advisories/GHSA-cf45-hxwj-4cfj and https://github.com/advisories/GHSA-cf45-hxwj-4cfj). The patch corrects the isLoginRedirectAllowed function to properly reject URLs containing backslashes or other patterns that browsers normalize into external domains. In the interim, implement additional validation: deny redirect URLs containing backslashes or non-ASCII characters, enforce strict URL parsing using browser-compatible URL parsing libraries (e.g., the URL standard), and configure Content-Security-Policy headers to restrict redirect destinations. For SSO integrations, consider adding user-facing confirmation before redirects post-authentication, and log all redirect attempts for security monitoring.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in Directus's isLoginRedirectAllowed function, which validates redirect URLs against an allow-list to prevent open redirect attacks. The root cause (CWE-20: Improper Input Validation) stems from a parser differential: the server-side validation logic incorrectly classifies certain URL patterns as safe relative paths, while RFC 3986-compliant browsers normalize backslash-containing URL segments into absolute external references. Specifically, URLs like /auth/login?redirect=\\attacker.com are treated as relative paths by the validation logic but resolved as external URLs by browsers during the HTTP redirect. This affects the npm package directus (CPE: pkg:npm/directus), suggesting the vulnerability exists in Directus's Node.js/JavaScript authentication middleware.
Know when Open Redirect gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (https://github.com/directus/directus) · only source for this CVE.
CVSS VectorVendor: https://github.com/directus/directus
Lifecycle Timeline
2DescriptionCVE.org
Summary
An open redirect vulnerability exists in the login redirection logic. The isLoginRedirectAllowed function fails to correctly identify certain malformed URLs as external, allowing attackers to bypass redirect allow-list validation and redirect users to arbitrary external domains upon successful authentication.
Details
A parser differential exists between the server-side URL validation logic and how modern browsers interpret URL path segments containing backslashes. Specifically, certain URL patterns are incorrectly classified as safe relative paths by the server, but are normalized by browsers into external domain references.
This is particularly impactful in SSO authentication flows (e.g., OAuth2 providers), where an attacker can craft a login URL that redirects the victim to an attacker-controlled site immediately after successful authentication, without any visible indication during the login process.
Impact
- Phishing: Users may be silently redirected to attacker-controlled sites impersonating legitimate services after authenticating.
- Credential/token theft: The redirect can be chained to capture OAuth tokens or authorization codes.
- Trust erosion: Users lose confidence in the application after being redirected to unexpected domains post-login.
Blast Radius
ecosystem impact- 3 npm packages depend on directus (1 direct, 2 indirect)
Ecosystem-wide dependent count for version 11.16.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Related Vulnerabilities in Directus Multiple Security Vulnerabilities
View all 8More in Open Redirect
View allA malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca
GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of
PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect
Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to
When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r
Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows
Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b
Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li
Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3
Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp
Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites
Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for
EUVD-2026-19518
GHSA-cf45-hxwj-4cfj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB