GHSA-22rr-f3p8-5gf8
Directus affected by VM2 sandbox escape vulnerability
GHSA-22rr-f3p8-5gf8 is a high vulnerability (CVSS 7.6) in directus, published September 15, 2023. No source lists public exploit code. Fixed in directus 10.6.0.
- Severity
- 7.6 HighCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
10.6.0directus
Description
Impact
In vm2 for versions up to 3.9.19, Promise handler sanitization can be bypassed, allowing attackers to escape the sandbox and run arbitrary code. Within Directus this applies to the "Run Script" operation in flows being able to escape the sandbox running code in the main nodejs context.
Patches
Patched in v10.6.0 by replacing vm2 with isolated-vm
Workarounds
None
References
https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Affected packages
| Package | Affected | Fixed |
|---|---|---|
directusnpm | before 10.6.0 | 10.6.0 |
What each source reports
GitHub Advisories Score used 7.6
Directus affected by VM2 sandbox escape vulnerability
Impact
In vm2 for versions up to 3.9.19, Promise handler sanitization can be bypassed, allowing attackers to escape the sandbox and run arbitrary code. Within Directus this applies to the "Run Script" operation in flows being able to escape the sandbox running code in the main nodejs context.
Patches
Patched in v10.6.0 by replacing vm2 with isolated-vm
Workarounds
None
References
https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5
- Record
GHSA-22rr-f3p8-5gf8- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSV 7.6
Directus affected by VM2 sandbox escape vulnerability
Impact
In vm2 for versions up to 3.9.19, Promise handler sanitization can be bypassed, allowing attackers to escape the sandbox and run arbitrary code. Within Directus this applies to the "Run Script" operation in flows being able to escape the sandbox running code in the main nodejs context.
Patches
Patched in v10.6.0 by replacing vm2 with isolated-vm
Workarounds
None
References
https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5
- Record
GHSA-22rr-f3p8-5gf8- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
github.com/directus/directus/security/advisories/GHSA-22rr-f3p8-5gf8
github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5
github.com/directus/directus/pull/19332
github.com/directus/directus/commit/284156426fa94f688e8d65a7a4f34f9e6705f058
github.com/advisories/GHSA-22rr-f3p8-5gf8
github.com/directus/directus