Security mailing lists by PureSourceCode

CVE-2026-32304

CRITICAL 9.8CVSS 3.1

Locutus vulnerable to RCE via unsanitized input in create_function()

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.

Published
13 Mar 2026
Last modified
15 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-88CWE-94
Also known as
GHSA-vh9h-29pq-r5m8
Sources
NVDJSONOSV GHSA-vh9h-29pq-r5m8JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD locutus locutus
cpe:2.3:a:locutus:locutus:*:*:*:*:*:node.js:*:*
< 3.0.14 3.0.14
OSV npm locutus < 3.0.14 3.0.14

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 13 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.