Skip to content

Commit d469640

Browse files
1 parent f99b100 commit d469640

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-3573-4c68-g8cc",
4+
"modified": "2026-01-06T19:22:38Z",
5+
"published": "2026-01-06T19:22:38Z",
6+
"aliases": [],
7+
"summary": "Directus has open redirect in SAML",
8+
"details": "## Security Advisory: Open Redirect in Directus SAML Authentication\n\n### Summary\n\nAn 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.\n\n### Vulnerability Description\n\nDuring 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.\n\nThe vulnerability is present in both the success and error handling paths of the callback.\n\n### Impact\n\n- **Phishing**: Users can be redirected to attacker-controlled sites that mimic legitimate login pages\n- **Credential theft**: Chained attacks may leverage the redirect to capture OAuth tokens or authorization codes\n- **Trust erosion**: Users may lose confidence in the application's security posture\n\nThis vulnerability can be exploited without authentication.",
9+
"severity": [
10+
{
11+
"type": "CVSS_V3",
12+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
13+
}
14+
],
15+
"affected": [
16+
{
17+
"package": {
18+
"ecosystem": "npm",
19+
"name": "directus"
20+
},
21+
"ranges": [
22+
{
23+
"type": "ECOSYSTEM",
24+
"events": [
25+
{
26+
"introduced": "0"
27+
},
28+
{
29+
"fixed": "11.14.0"
30+
}
31+
]
32+
}
33+
]
34+
},
35+
{
36+
"package": {
37+
"ecosystem": "npm",
38+
"name": "@directus/api"
39+
},
40+
"ranges": [
41+
{
42+
"type": "ECOSYSTEM",
43+
"events": [
44+
{
45+
"introduced": "0"
46+
},
47+
{
48+
"fixed": "32.1.1"
49+
}
50+
]
51+
}
52+
]
53+
}
54+
],
55+
"references": [
56+
{
57+
"type": "WEB",
58+
"url": "https://github.com/directus/directus/security/advisories/GHSA-3573-4c68-g8cc"
59+
},
60+
{
61+
"type": "WEB",
62+
"url": "https://github.com/directus/directus/commit/dad9576ea9362905cc4de8028d3877caff36dc23"
63+
},
64+
{
65+
"type": "PACKAGE",
66+
"url": "https://github.com/directus/directus"
67+
}
68+
],
69+
"database_specific": {
70+
"cwe_ids": [
71+
"CWE-601"
72+
],
73+
"severity": "MODERATE",
74+
"github_reviewed": true,
75+
"github_reviewed_at": "2026-01-06T19:22:38Z",
76+
"nvd_published_at": null
77+
}
78+
}

0 commit comments

Comments
 (0)