{"answers":{"affected":"8 open source packages ship an affected version, including lodash, lodash-amd and lodash-es. It affects 4 products.","exploited":"There is no known exploitation of CVE-2026-4800 in the wild and no public exploit code.","fix":"Upgrade lodash to 4.18.0 or later.","what":"CVE-2026-4800 is a high-severity code injection vulnerability in lodash, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-4800 and fix it if it is affected.\n\nWhat it is: CVE-2026-4800 is a high-severity code injection vulnerability in lodash, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-4800 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- lodash (npm): affected from 4.0.0; fixed in 4.18.0\n- lodash (npm): affected from 4.0.0; fixed in 4.18.0\n- lodash-amd (npm): affected from 4.0.0; fixed in 4.18.0\n- lodash-amd (npm): affected from 4.0.0; fixed in 4.18.0\n- lodash-es (npm): affected from 4.0.0; fixed in 4.18.0\n- lodash-es (npm): affected from 4.0.0; fixed in 4.18.0\n- lodash.template (npm): affected from 4.0.0; fixed in 4.18.0\n- lodash.template (npm): affected from 4.0.0; fixed in 4.18.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-4800/ (Markdown: https://insights.sbomify.com/CVE-2026-4800/index.md)","id":"CVE-2026-4800","markdown":"https://insights.sbomify.com/CVE-2026-4800/index.md","name":"CVE-2026-4800","record":{"aliases":["ALSA-2026:10710","ALSA-2026:10713","ALSA-2026:19167","CLEANSTART-2026-HD42236","CLEANSTART-2026-SE20608","CLSA-2026-1778805969","CLSA-2026-1791220257","DEBIAN-CVE-2026-4800","ECHO-276a-c790-4db2","GHSA-r5fr-rjxr-66jc","MINI-2f2v-hpfh-94mc","MINI-2vj8-c4xj-fpxh","MINI-364q-q43v-5mpx","MINI-3j66-rm5j-g7fq","MINI-4pj4-8f9x-m64g","MINI-4ppf-pjv2-w5q8","MINI-5733-wrwr-258r","MINI-5pqr-jr5v-4h3x","MINI-5q6p-f562-vp7r","MINI-5wjq-vr89-jr8f","MINI-69j9-qhqw-jqww","MINI-6hgh-x85q-5p43","MINI-6xmc-gqc2-xf8c","MINI-745m-hfrc-wv89","MINI-8973-96ff-wv58","MINI-9q3g-vpjv-w74g","MINI-cf3v-8g9p-ccgg","MINI-fmwq-mp8q-w74r","MINI-h6fg-5fhv-8pm3","MINI-hh6w-h2cq-7jqq","MINI-hqj9-3xhp-q9xv","MINI-hrw4-j9vg-8c78","MINI-j334-92qv-mh89","MINI-jgfq-87f3-wqgc","MINI-jm7m-r2mr-v522","MINI-jmgq-6h8c-43x7","MINI-m5w7-mf8r-68gc","MINI-pc8w-72pf-chxh","MINI-q382-6vg2-c3w3","MINI-r4pr-qww3-288w","MINI-rg6h-fgr6-4794","MINI-rvqx-v349-2h8h","MINI-vwqh-gjj4-m5hv","MINI-vx37-xgcw-3fj3","MINI-xjcg-v6ff-6wvr","MINI-xjg8-r56f-9382","MINI-xxpc-2mm9-c885","MINI-xxrq-q98h-7mq5","RHSA-2026:10710","RHSA-2026:10713","RHSA-2026:11469","RHSA-2026:11470","RHSA-2026:11471","RHSA-2026:11516","RHSA-2026:19008","RHSA-2026:19167","RLSA-2026:10710","RLSA-2026:19167","ROOT-APP-NPM-CVE-2026-4800","UBUNTU-CVE-2026-4800"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript utility library","requires_auth":"none","summary":"Attackers can execute arbitrary code by injecting expressions into untrusted imports key names in lodash template compilation.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openjs","cpe":[{"product":"lodash","vendor":"lodash"},{"product":"lodash-amd","vendor":"lodash"},{"product":"lodash-es","vendor":"lodash"},{"product":"lodash.template","vendor":"lodash"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"The fix for CVE-2021-23337 added validation for the variable option in _.template but did not apply the same validation to options.imports key names, and both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in, so if Object.prototype has been polluted by another vector the polluted keys are copied into the imports object and passed to Function(). The issue is fixed in 4.18.1 for lodash, lodash-es, lodash-amd, and lodash.template. As a workaround, do not pass untrusted input as key names in options.imports; use only developer-controlled, static key names.","ecosystems":["AlmaLinux:10","AlmaLinux:9","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:9::highavailability","Red Hat:enterprise_linux:9::resilientstorage","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_e4s:9.2::highavailability","Red Hat:rhel_e4s:9.2::resilientstorage","Red Hat:rhel_eus:9.4::highavailability","Red Hat:rhel_eus:9.4::resilientstorage","Red Hat:rhel_eus:9.6::highavailability","Red Hat:rhel_eus:9.6::resilientstorage","Rocky Linux:9","npm"],"exploits":{"exploitdb":0,"first_seen":"2026-04-01","github_poc":2,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-01T01:45:10Z","kind":"github_poc","ref":"https://github.com/threalwinky/CVE-2026-4800-POC","stars":3,"title":null},{"date":"2026-04-07T13:30:51Z","kind":"github_poc","ref":"https://github.com/SvenLie/next-rep-CVE-2026-4800","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"lodash vulnerable to Code Injection via `_.template` imports key names","id":"CVE-2026-4800","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":44,"n_references":2,"next":{"headline":"Cross-site scripting in Page Builder Gutenberg Blocks – CoBlocks","id":"CVE-2026-4801"},"packages":[{"ecosystem":"npm","fixed":["4.18.0"],"introduced":["4.0.0"],"last_affected":[],"package":"lodash","purl":null,"source":"GHSA-r5fr-rjxr-66jc"},{"ecosystem":"npm","fixed":["4.18.0"],"introduced":["4.0.0"],"last_affected":[],"package":"lodash","purl":"pkg:npm/lodash","source":"GHSA-r5fr-rjxr-66jc"},{"ecosystem":"npm","fixed":["4.18.0"],"introduced":["4.0.0"],"last_affected":[],"package":"lodash-amd","purl":null,"source":"GHSA-r5fr-rjxr-66jc"},{"ecosystem":"npm","fixed":["4.18.0"],"introduced":["4.0.0"],"last_affected":[],"package":"lodash-amd","purl":"pkg:npm/lodash-amd","source":"GHSA-r5fr-rjxr-66jc"},{"ecosystem":"npm","fixed":["4.18.0"],"introduced":["4.0.0"],"last_affected":[],"package":"lodash-es","purl":null,"source":"GHSA-r5fr-rjxr-66jc"},{"ecosystem":"npm","fixed":["4.18.0"],"introduced":["4.0.0"],"last_affected":[],"package":"lodash-es","purl":"pkg:npm/lodash-es","source":"GHSA-r5fr-rjxr-66jc"},{"ecosystem":"npm","fixed":["4.18.0"],"introduced":["4.0.0"],"last_affected":[],"package":"lodash.template","purl":null,"source":"GHSA-r5fr-rjxr-66jc"},{"ecosystem":"npm","fixed":["4.18.0"],"introduced":["4.0.0"],"last_affected":[],"package":"lodash.template","purl":"pkg:npm/lodash.template","source":"GHSA-r5fr-rjxr-66jc"},{"ecosystem":"AlmaLinux:10","fixed":["0.12.1-1.el10_1.3"],"introduced":["0"],"last_affected":[],"package":"cockpit-ha-cluster","purl":"pkg:rpm/almalinux/cockpit-ha-cluster","source":"ALSA-2026:10713"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.10-1.el9_7.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/almalinux/pcs","source":"ALSA-2026:10710"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.11-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/almalinux/pcs","source":"ALSA-2026:19167"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.10-1.el9_7.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/almalinux/pcs-snmp","source":"ALSA-2026:10710"},{"ecosystem":"AlmaLinux:9","fixed":["0.11.11-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/almalinux/pcs-snmp","source":"ALSA-2026:19167"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.12.1-1.el10_1.3"],"introduced":["0"],"last_affected":[],"package":"cockpit-ha-cluster","purl":"pkg:rpm/redhat/cockpit-ha-cluster","source":"RHSA-2026:10713"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.12.1-1.el10_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:10713"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:0.12.1-1.el10_1.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:10713"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:0.12.2-3.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"cockpit-ha-cluster","purl":"pkg:rpm/redhat/cockpit-ha-cluster","source":"RHSA-2026:19008"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:0.12.2-3.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:19008"},{"ecosystem":"Red Hat:enterprise_linux:10.2","fixed":["0:0.12.2-3.el10_2.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:19008"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.10-1.el9_7.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:10710"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.11-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:19167"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.10-1.el9_7.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:10710"},{"ecosystem":"Red Hat:enterprise_linux:9::highavailability","fixed":["0:0.11.11-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:19167"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.10-1.el9_7.3"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:10710"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.11-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:19167"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.10-1.el9_7.3"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:10710"},{"ecosystem":"Red Hat:enterprise_linux:9::resilientstorage","fixed":["0:0.11.11-2.el9_8.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:19167"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:0.12.0-3.el10_0.5"],"introduced":["0"],"last_affected":[],"package":"cockpit-ha-cluster","purl":"pkg:rpm/redhat/cockpit-ha-cluster","source":"RHSA-2026:11470"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:0.12.0-3.el10_0.5"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:11470"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:0.12.0-3.el10_0.5"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:11470"},{"ecosystem":"Red Hat:rhel_e4s:9.2::highavailability","fixed":["0:0.11.4-7.el9_2.8"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:11469"},{"ecosystem":"Red Hat:rhel_e4s:9.2::highavailability","fixed":["0:0.11.4-7.el9_2.8"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:11469"},{"ecosystem":"Red Hat:rhel_e4s:9.2::resilientstorage","fixed":["0:0.11.4-7.el9_2.8"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:11469"},{"ecosystem":"Red Hat:rhel_e4s:9.2::resilientstorage","fixed":["0:0.11.4-7.el9_2.8"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:11469"},{"ecosystem":"Red Hat:rhel_eus:9.4::highavailability","fixed":["0:0.11.7-2.el9_4.7"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:11516"},{"ecosystem":"Red Hat:rhel_eus:9.4::highavailability","fixed":["0:0.11.7-2.el9_4.7"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:11516"},{"ecosystem":"Red Hat:rhel_eus:9.4::resilientstorage","fixed":["0:0.11.7-2.el9_4.7"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:11516"},{"ecosystem":"Red Hat:rhel_eus:9.4::resilientstorage","fixed":["0:0.11.7-2.el9_4.7"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:11516"},{"ecosystem":"Red Hat:rhel_eus:9.6::highavailability","fixed":["0:0.11.9-2.el9_6.4"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/redhat/pcs","source":"RHSA-2026:11471"},{"ecosystem":"Red Hat:rhel_eus:9.6::highavailability","fixed":["0:0.11.9-2.el9_6.4"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/redhat/pcs-snmp","source":"RHSA-2026:11471"}],"prev":{"headline":"Open redirect vulnerability in Search Guard Kibana Plugin via manipulated requests","id":"CVE-2026-4799"},"products":["lodash","lodash-amd","lodash-es","lodash.template"],"published":"2026-03-31","related":[{"cvss_score":7.4,"headline":"Prototype Pollution in lodash","id":"CVE-2020-8203","kev_date_added":null,"published":"2020-07-15"},{"cvss_score":7.2,"headline":"Command Injection","id":"CVE-2021-23337","kev_date_added":null,"published":"2021-02-15"},{"cvss_score":6.9,"headline":"Prototype Pollution Vulnerability in Lodash _.unset and _.omit functions","id":"CVE-2025-13465","kev_date_added":null,"published":"2026-01-21"},{"cvss_score":6.5,"headline":"lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit`","id":"CVE-2026-2950","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":6.5,"headline":"Regular Expression Denial of Service (ReDoS) in lodash","id":"CVE-2019-1010266","kev_date_added":null,"published":"2019-07-17"},{"cvss_score":6.5,"headline":"Prototype Pollution in lodash","id":"CVE-2018-3721","kev_date_added":null,"published":"2018-06-07"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-15","vendors":["lodash"]},"summary":"Attackers can execute arbitrary code by injecting expressions into untrusted imports key names in lodash template compilation.","url":"https://insights.sbomify.com/CVE-2026-4800/"}