CVE-2023-43656: Sandbox escape for instances that have enabled transformation functions in matrix-hookshot
Vulnerability summary
CVE-2023-43656 is a critical (CVSS 9.0) vulnerability in matrix-org matrix-hookshot. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.5% of scored vulnerabilities.
Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 27-09-2023PublishedVulnerability first disclosed.
- 20-09-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA5.6MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Matrix1 product
- hookshot< 4.5.0
Matrix-org1 product
- matrix-hookshot< 4.5.0
2 vendors · 2 products
References
2 links- github.com/matrix-org/matrix-hookshot/security/advisories/GHSA-fr97-pv6w-4cj6X Refsource CONFIRMVendor Advisory