{"id":"CVE-2026-138148","aliases":[],"kind":"cve","tier":"hot","status":"published","title":"picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators","description":"picomatch through 4.0.7 contains a glob filter bypass vulnerability because globstar (**) patterns are compiled without the dotAll flag and fail to match line terminators. Attackers who control file, object key or archive entry names containing newline characters can evade ** deny patterns, causing excluded resources to be included and exposed.","ai_summary":{"text":"An attacker can bypass picomatch glob deny patterns using file, object key or archive entry names containing newline characters, causing excluded resources to be included.","model":"claude-haiku-5-5","label":"AI summary"},"severity":"medium","cvss":{"score":6.9,"version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","source":"CNA"},"scores":[{"score":6.9,"source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"score":5.3,"source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},{"score":6.9,"source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"}],"cwe":["CWE-185"],"remote":true,"remote_unauth":true,"epss":null,"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"source":"cvelist","vendor":"micromatch","product":"picomatch","versions":"<= 4.0.7"}],"ai_versions":{"affected":[{"text":"picomatch through 4.0.7 contains a glob filter bypass vulnerability","quote":"picomatch through 4.0.7","product":"picomatch"}],"fixed":[],"model":"claude-haiku-5-5","label":"AI-extracted versions"},"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[{"slug":"npm","name":"npm packages","method":"ai"}],"references":[{"url":"https://github.com/micromatch/picomatch/pull/202","kind":"patch"},{"url":"https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09","kind":"patch"},{"url":"https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397","kind":"article"},{"url":"https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376","kind":"article"},{"url":"https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators","kind":"other"}],"workarounds":null,"vendors":["micromatch"],"products":["picomatch"],"cpes":[],"published_at":"2026-11-28T01:43:02.586Z","modified_at":"2026-11-28T02:17:34.257Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138148"}],"links":{"html":"https://flawdb.com/CVE-2026-138148","markdown":"https://flawdb.com/CVE-2026-138148.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-138148"}}