CVE-2026-138148 PUBLISHED

picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators

Assigner: VulnCheck
Reserved: 28.11.2026 Published: 28.11.2026 Updated: 28.11.2026

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.

Metrics

CVSS 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
CVSS Score: 6.9

Product Status

Vendor micromatch
Product picomatch
Versions Default: unaffected
  • affected from 0 to 4.0.7 (incl.)

Credits

  • Wayde Shi finder
  • Dương Ngọc Anh remediation developer

References

Problem Types

  • Incorrect Regular Expression CWE