Skip to main content

Open Redirect CVE-2026-35410

| EUVDEUVD-2026-19518 MEDIUM
Improper Input Validation (CWE-20)
2026-04-04 https://github.com/directus/directus GHSA-cf45-hxwj-4cfj
6.1
CVSS 3.1 · Vendor: https://github.com/directus/directus
View

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: https://victim-directus-app.com/auth/login?redirect=\\attacker.com/fake-login. The victim clicks the link, successfully authenticates with their credentials, and the server's isLoginRedirectAllowed function incorrectly classifies the backslash-prefixed URL as a relative path. The victim's browser, however, normalizes the URL to https://attacker.com/fake-login and silently redirects the authenticated user without visible indication. The attacker can then capture the victim's OAuth token from the URL fragment or use JavaScript to extract it from the authentication session, compromising the victim's account. This is particularly damaging in enterprise Directus deployments where SSO integration provides direct access to sensitive CMS content and user data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

directus < 11.16.1

Affected Packages

npm directus fix: 11.16.1

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

Vendor (https://github.com/directus/directus) PRIMARY 6.1 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch released
Apr 04, 2026 - 08:30 nvd
Patch available
CVE Published
Apr 04, 2026 - 06:09 nvd
MEDIUM 6.1

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on directus (1 direct, 2 indirect)

Ecosystem-wide dependent count for version 11.16.1.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2018-11784 MEDIUM POC
4.3 Oct 04

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

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

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

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

CVE-2015-5461 MEDIUM POC
6.4 Jul 08

Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy