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 up to version 3.5.1 involving unsandboxed JavaScript execution in the Custom Logic policy block worker. Authenticated Standard Registry users can supply JavaScript expressions that are executed via the Node.js Function() constructor without isolation, enabling arbitrary code execution. This allows attackers to import native Node.js modules to read files from the container filesystem, access sensitive environment variables containing credentials such as RSA private keys, JWT signing keys, and API tokens, and forge valid authentication tokens for any user, including administrators. The vulnerability was fixed in commit 45fbe2f, but no official patch or advisory details are currently available. The CVSS 4.0 base score is 8.7, reflecting network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an authenticated user with Standard Registry privileges to execute arbitrary code within the application environment. This can lead to unauthorized access to sensitive files and environment variables, including private cryptographic keys and API tokens. Attackers can also forge authentication tokens for any user, including administrators, potentially resulting in full system compromise. The vulnerability severely impacts confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
No official patch or remediation guidance is currently available from the vendor. The vulnerability was fixed in commit 45fbe2f, so upgrading to a version including this fix is recommended once released. Until then, restrict Standard Registry user privileges and avoid running untrusted JavaScript code in the Custom Logic policy block worker. Monitor vendor advisories for updates and apply official patches promptly when available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-39911 is a high-severity vulnerability in Hashgraph Guardian up to version 3.5.1 involving unsandboxed JavaScript execution in the Custom Logic policy block worker. Authenticated Standard Registry users can supply JavaScript expressions that are executed via the Node.js Function() constructor without isolation, enabling arbitrary code execution. This allows attackers to import native Node.js modules to read files from the container filesystem, access sensitive environment variables containing credentials such as RSA private keys, JWT signing keys, and API tokens, and forge valid authentication tokens for any user, including administrators. The vulnerability was fixed in commit 45fbe2f, but no official patch or advisory details are currently available. The CVSS 4.0 base score is 8.7, reflecting network attack vector, low attack complexity, no user interaction, and high impacts on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an authenticated user with Standard Registry privileges to execute arbitrary code within the application environment. This can lead to unauthorized access to sensitive files and environment variables, including private cryptographic keys and API tokens. Attackers can also forge authentication tokens for any user, including administrators, potentially resulting in full system compromise. The vulnerability severely impacts confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
No official patch or remediation guidance is currently available from the vendor. The vulnerability was fixed in commit 45fbe2f, so upgrading to a version including this fix is recommended once released. Until then, restrict Standard Registry user privileges and avoid running untrusted JavaScript code in the Custom Logic policy block worker. Monitor vendor advisories for updates and apply official patches promptly when available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
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: 4/9/2026, 6:20:57 PM
Last enriched: 5/2/2026, 1:56:19 AM
Last updated: 5/25/2026, 6:06:13 AM
Views: 82
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.