Read the docs
TI-2023-23381 Aliases CVE-2023-43656

Sandbox escape for instances that have enabled transformation functions in matrix-hookshot

Priority LOW 39CWE-74Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

matrix-hookshot is a Matrix bot for connecting to external services like GitHub, GitLab, JIRA, and more. Instances that have enabled transformation functions (those that have `generic.allowJsTransformationFunctions` in their config), may be vulnerable to an attack where it is possible to break out of the `vm2` sandbox and as a result Hookshot will be vulnerable to this. This problem is only likely to affect users who have allowed untrusted users to apply their own transformation functions. If you have only enabled a limited set of trusted users, this threat is reduced (though not eliminated). Version 4.5.0 and above of hookshot include a new sandbox library which should better protect users. Users are advised to upgrade. Users unable to upgrade should disable `generic.allowJsTransformationFunctions` in the config.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00317 24th percentileScored 2026-11-07
Fix Fixed matrix-hookshot (matrix-org): 4.5.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
matrix-orgmatrix-hookshotbefore 4.5.04.5.0Patch availableCNA
  • matrix-hookshot Vendormatrix-org Affected before 4.5.0 Fixed in 4.5.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:matrix:hookshot:*:*:*:*:*:*:*:*before 4.5.0Vulnerablematrix-org
  • cpe:2.3:a:matrix:hookshot:*:*:*:*:*:*:*:* Versions before 4.5.0 Vulnerable ·matrix-org

Remediation

  • Fix · CNA matrix-hookshot (matrix-org) Fixed in 4.5.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-43656

References

Sources

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