{"id":"CVE-2026-138148","summary":"picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators","details":"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.","modified":"2026-11-28T03:00:11.108202899Z","published":"2026-11-28T01:43:02.586Z","database_specific":{"cwe_ids":["CWE-185"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138148.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138148.json"},{"type":"PACKAGE","url":"https://github.com/micromatch/picomatch"},{"type":"ARTICLE","url":"https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376"},{"type":"ARTICLE","url":"https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397"},{"type":"FIX","url":"https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09"},{"type":"FIX","url":"https://github.com/micromatch/picomatch/pull/202"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138148"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/micromatch/picomatch","events":[{"introduced":"0"},{"last_affected":"6bb40679c218cefba5d4e9662408c5fdf699a8bb"},{"fixed":"838c9d791cbd0e7c92e858f71ae38f6597416c09"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"4.0.7"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"838c9d791cbd0e7c92e858f71ae38f6597416c09"}]}]}}],"versions":["4.0.7","4.0.6","4.0.5","4.0.4","3.0.1","2.3.1","4.0.3","4.0.2","4.0.1","3.0.0","2.3.0","2.2.3","2.2.2","2.1.0","2.0.7","2.0.6","2.0.5","2.0.4","2.0.3","2.0.2","2.0.1","2.0.0","1.1.2","1.1.0","1.0.2","1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138148.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}