{"affected":[{"defaultStatus":"unaffected","ecosystem":"npm","packageName":"picomatch","product":"picomatch","source":"CNA: VulnCheck","vendor":"micromatch","versions":[{"lessThanOrEqual":"4.0.7","status":"affected","version":"0","versionType":"semver"}]}],"cveId":"CVE-2026-138148","cwes":["CWE-185"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6.9,"severity":"medium","source":"CNA: VulnCheck","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,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}],"modifiedAt":1795830182586,"publishedAt":1795830182586,"references":[{"source":"CNA: VulnCheck","tags":["issue-tracking","patch"],"url":"https://github.com/micromatch/picomatch/pull/202"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/micromatch/picomatch/pull/202"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09"}],"revision":"b039d84fa6a39638118d246745460f92a84318e049a566d38a8d1ee902f03796","sources":[{"modifiedAt":1795830182586,"name":"CNA: VulnCheck","retrievedAt":1795831708860,"url":"https://www.cve.org/CVERecord?id=CVE-2026-138148"}],"ssvc":null,"status":"published","title":"picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators","updatedAt":1795831708860}