CVE-2026-39911: Hashgraph Guardian arbitrary code execution in Custom Logic worker

CVE-2026-39911 · Severity: high · CVSS 8.8 · Published 2026-04-09

Hashgraph Guardian, an open-source platform for managing digital environmental assets, contains a security flaw in how it handles custom logic scripts. An authorized user can provide malicious code that bypasses security restrictions to run directly on the underlying server. This allows an attacker to steal sensitive credentials like private keys and API tokens, access private files, or take over administrative accounts, potentially compromising the entire registry system.

Quick answers

Is CVE-2026-39911 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-39911 being exploited in the wild.
How severe is CVE-2026-39911?
High severity, with a CVSS score of 8.8, published 9 April 2026.
Which products and versions are affected?
Hashgraph Guardian through 3.5.1.
Is there a fix for CVE-2026-39911?
A patch was published on 2026-04-30: Fix merged into develop branch via commit 45fbe2f Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-39911 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-39911?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An unsandboxed JavaScript execution vulnerability exists in the Custom Logic policy block worker of Hashgraph Guardian. The application passes user-supplied JavaScript expressions directly to the Node.js Function() constructor without isolation or sandboxing. An authenticated Standard Registry user can exploit this to import native Node.js modules (such as 'fs'), read arbitrary files from the container filesystem, and access process environment variables. This exposure includes sensitive credentials like RSA private keys and JWT signing keys, which can be used to forge authentication tokens for any user, including administrators. The issue was addressed by replacing the Function() constructor with a sandboxed Node.js vm.createContext() environment.

Affected products

  • Hashgraph Guardian through 3.5.1

Timeline

  • 2026-04-07: disclosed: Pull request submitted to address the vulnerability
  • 2026-04-09: advisory: CVE-2026-39911 assigned and published
  • 2026-04-30: patched: Fix merged into develop branch via commit 45fbe2f

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.