{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-32304","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-03-11T21:16:21.659Z","datePublished":"2026-03-12T21:24:51.730Z","dateUpdated":"2026-03-13T13:12:13.553Z"},"containers":{"cna":{"title":"Locutus: RCE via unsanitized input in create_function()","problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"name":"https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/locutusjs/locutus/security/advisories/GHSA-vh9h-29pq-r5m8"},{"name":"https://github.com/locutusjs/locutus/releases/tag/v3.0.14","tags":["x_refsource_MISC"],"url":"https://github.com/locutusjs/locutus/releases/tag/v3.0.14"}],"affected":[{"vendor":"locutusjs","product":"locutus","versions":[{"version":"< 3.0.14","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-03-12T21:24:51.730Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-vh9h-29pq-r5m8","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-13T13:12:02.296127Z","id":"CVE-2026-32304","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-03-13T13:12:13.553Z"}}]}}