Skip to content
Heist/ feed
Back to feed
High

Hashgraph Guardian 3.5.1 Unsandboxed JavaScript Execution RCE

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-39911
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:08 UTC · Revision 1

Source evidence

Hashgraph Guardian 3.5.1 Unsandboxed JavaScript Execution RCE

core-osv · Original source

Published 9 Apr 2026, 17:57 UTC

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.

osv:CVE-2026-39911
Complete source record
{
  "id": "3f9c70a0039b14b7545d3a0c67a6e878856c55702aa97211261bd05e9708c77b",
  "url": "https://osv.dev/vulnerability/CVE-2026-39911",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Hashgraph Guardian 3.5.1 Unsandboxed JavaScript Execution RCE",
    "summary": "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.",
    "evidence": "osv:CVE-2026-39911",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-39911",
      "aliases": [
        "CVE-2026-39911"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hashgraph/guardian",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "45fbe2f7e0e8feee30105d42d66ed63fb6177ebe"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hedera:guardian:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "3.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "45fbe2f7e0e8feee30105d42d66ed63fb6177ebe"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.4.0",
            "v3.4.0-rc",
            "v3.3.0",
            "v3.3.0-rc",
            "v3.2.0",
            "v3.2.0-rc",
            "v3.2.0-RC",
            "v3.1.1",
            "v3.1.0",
            "v3.1.0-RC",
            "v3.0.0",
            "v2.27.1",
            "v2.27.0",
            "v2.26.2",
            "v2.26.1",
            "v2.26.0",
            "v2.25.1",
            "v2.25.0",
            "v2.24.1",
            "v2.24.0",
            "v1.0.0",
            "v1.0.0-beta.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39911.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.073505719Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39911.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39911",
        "https://www.vulncheck.com/advisories/hashgraph-guardian-unsandboxed-javascript-execution-rce",
        "https://github.com/hashgraph/guardian/pull/5929",
        "https://github.com/hashgraph/guardian/commit/45fbe2f7e0e8feee30105d42d66ed63fb6177ebe",
        "https://github.com/hashgraph/guardian"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-668"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39911.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-39911",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493237,
  "published_at": "2026-04-09T17:57:20.44+00:00"
}