{
  "id": "CVE-2026-32304",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-32304",
  "published_at": "2026-03-12T21:24:51.73Z",
  "title": "Locutus: RCE via unsanitized input in create_function()",
  "vendor": "locutusjs",
  "product": "locutus",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to 3.0.14, the create_function(args, code) function passes both parameters directly to the Function constructor without any sanitization, allowing arbitrary code execution. This is distinct from CVE-2026-29091 which was call_user_func_array using eval() in v2.x. This finding affects create_function using new Function() in v3.x. This vulnerability is fixed in 3.0.14.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:locutus:locutus:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "locutusjs",
        "product": "locutus",
        "ranges": [
          "\u003c 3.0.14"
        ],
        "fixed_in": [
          "3.0.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade locutus to 3.0.14 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/locutusjs/locutus/releases/tag/v3.0.14"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
