Hashgraph Guardian
Hashgraph Guardian 3.5.1 Unsandboxed JavaScript Execution RCE
Hashgraph Guardian through version 3.5.1, fixed in commit 45fbe2f, contains an unsandboxed JavaScript execution vulnerability in the Custom Logic policy block worker that allows authenticated Standard Registry users to execute arbitrary code by passing user-supplied JavaScript expressions directly to the Node.js Function() constructor without isolation. Attackers can import native Node.js modules to read arbitrary files from the container filesystem, access process environment variables containing sensitive credentials such as RSA private keys, JWT signing keys, and API tokens, and forge valid authentication tokens for any user including administrators.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.5.1
Fixed in 45fbe2f7e0e8feee30105d42d66ed63fb6177ebe
Mitigation
Upgrade guardian to 45fbe2f7e0e8feee30105d42d66ed63fb6177ebe or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.