Read the docs
TI-2023-30806 Aliases GHSA-22rr-f3p8-5gf8

Directus affected by VM2 sandbox escape vulnerability

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### 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

Why it matters now

Fix Fixed directus (npm): 10.6.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—directus (npm)before 10.6.010.6.0Patch availableGHSA-22rr-f3p8-5gf8
  • directus (npm) Vendor— Affected before 10.6.0 Fixed in 10.6.0 Patch available GHSA-22rr-f3p8-5gf8

Remediation

  • Fix · GHSA-22rr-f3p8-5gf8 directus (npm) Fixed in 10.6.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-22rr-f3p8-5gf8

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences