{"id":"CVE-2026-35410","aliases":["CVE-2026-35410","GHSA-cf45-hxwj-4cfj"],"related":[],"kind":"vulnerability","state":"published","title":"Directus has an Open Redirect via Parser Bypass in OAuth2/SAML Authentication Flow","summary":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.16.1, 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. This vulnerability is fixed in 11.16.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.16.1, 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. This vulnerability is fixed in 11.16.1.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nAn 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.\n\n### Details\n\nA 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.\n\nThis 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.\n\n### Impact\n\n- **Phishing:** Users may be silently redirected to attacker-controlled sites impersonating legitimate services after authenticating.\n- **Credential/token theft:** The redirect can be chained to capture OAuth tokens or authorization codes.\n- **Trust erosion:** Users lose confidence in the application after being redirected to unexpected domains post-login.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Directus es un API en tiempo real y un panel de control de aplicaciones para gestionar contenido de base de datos SQL. Antes de la versión 11.16.1, existe una vulnerabilidad de redirección abierta en la lógica de redirección de inicio de sesión. La función isLoginRedirectAllowed no logra identificar correctamente ciertas URL malformadas como externas, permitiendo a los atacantes eludir la validación de la lista de permitidos de redirección y redirigir a los usuarios a dominios externos arbitrarios tras una autenticación exitosa. Esta vulnerabilidad está corregida en la versión 11.16.1.","source":"nvd"}],"published":"2026-04-04T06:09:55.000Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-20","CWE-184","CWE-601"],"affected":[{"ranges":[{"version":"< 11.16.1","status":"affected"}],"vendor":"directus","product":"directus","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"11.16.1"}],"ecosystem":"npm","package":"directus","purl":"pkg:npm/directus","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"11.16.1"}],"vendor":"monospace","product":"directus","cpe":"cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-cf45-hxwj-4cfj","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35410","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/directus/directus","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-07T14:47:25.463Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35410","url":"https://www.cve.org/CVERecord?id=CVE-2026-35410","licence":"CVE Terms of Use","modified":"2026-04-07T15:09:07.019Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cf45-hxwj-4cfj","url":"https://github.com/advisories/GHSA-cf45-hxwj-4cfj","licence":"CC-BY-4.0","modified":"2026-04-07T14:35:43.204Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35410","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35410","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:18.071Z","epss":{"score":0.00267,"percentile":0.20056,"date":"2026-12-01T12:00:22.000Z"}}