CVE-2026-39911: CWE-668: Exposure of Resource to Wrong Sphere in hashgraph guardian
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.
AI Analysis
Technical Summary
CVE-2026-39911 is a high-severity vulnerability in Hashgraph Guardian through version 3.5.1. It arises from unsandboxed JavaScript execution in the Custom Logic policy block worker, where user-supplied JavaScript expressions are passed directly to the Node.js Function() constructor without isolation. Authenticated Standard Registry users can exploit this to execute arbitrary code, import native Node.js modules, read arbitrary container filesystem files, access sensitive environment variables (including RSA private keys, JWT signing keys, and API tokens), and forge valid authentication tokens for any user, including administrators. The vulnerability is fixed in commit 45fbe2f, but no official patch or vendor advisory is provided in the input data.
Potential Impact
Exploitation allows authenticated users with Standard Registry privileges to execute arbitrary code within the application context. Attackers can access sensitive files and environment variables containing critical credentials, such as private keys and API tokens, and can forge authentication tokens for any user, including administrators. This leads to a complete compromise of the application and potentially the underlying system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability is fixed in commit 45fbe2f, indicating a code-level fix exists. Until an official patch or update is released, restrict Standard Registry user privileges and avoid exposing the vulnerable Custom Logic policy block worker to untrusted users. Monitor vendor channels for an official fix.
CVE-2026-39911: CWE-668: Exposure of Resource to Wrong Sphere in hashgraph guardian
Description
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.
CVSS v4.0
Score 8.7high
Affected software
pkg:github/hashgraph/guardianRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-39911 is a high-severity vulnerability in Hashgraph Guardian through version 3.5.1. It arises from unsandboxed JavaScript execution in the Custom Logic policy block worker, where user-supplied JavaScript expressions are passed directly to the Node.js Function() constructor without isolation. Authenticated Standard Registry users can exploit this to execute arbitrary code, import native Node.js modules, read arbitrary container filesystem files, access sensitive environment variables (including RSA private keys, JWT signing keys, and API tokens), and forge valid authentication tokens for any user, including administrators. The vulnerability is fixed in commit 45fbe2f, but no official patch or vendor advisory is provided in the input data.
Potential Impact
Exploitation allows authenticated users with Standard Registry privileges to execute arbitrary code within the application context. Attackers can access sensitive files and environment variables containing critical credentials, such as private keys and API tokens, and can forge authentication tokens for any user, including administrators. This leads to a complete compromise of the application and potentially the underlying system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability is fixed in commit 45fbe2f, indicating a code-level fix exists. Until an official patch or update is released, restrict Standard Registry user privileges and avoid exposing the vulnerable Custom Logic policy block worker to untrusted users. Monitor vendor channels for an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-07T20:57:06.209Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d7ee091cc7ad14da04a8ce
Added to database: 04/09/2026, 18:20:57 UTC
Last enriched: 07/15/2026, 10:26:42 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 136
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.