{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138148",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-11-28T01:08:01.780Z",
        "datePublished": "2026-11-28T01:43:02.586Z",
        "dateUpdated": "2026-11-28T01:43:02.586Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-11-28T01:43:02.586Z"
            },
            "datePublic": "2026-08-25T00:00:00.000Z",
            "title": "picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Incorrect Regular Expression",
                            "cweId": "CWE-185",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "micromatch",
                    "product": "picomatch",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "4.0.7",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "packageURL": "pkg:npm/picomatch",
                    "repo": "https://github.com/micromatch/picomatch"
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:jonschlinkert:picomatch:*:*:*:*:*:*:*:*",
                                    "versionEndIncluding": "4.0.7"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "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",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.9,
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/micromatch/picomatch/pull/202",
                    "tags": [
                        "issue-tracking",
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/micromatch/picomatch/commit/838c9d791cbd0e7c92e858f71ae38f6597416c09",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L395-L397",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://github.com/micromatch/picomatch/blob/4.0.7/lib/parse.js#L1373-L1376",
                    "tags": [
                        "technical-description"
                    ]
                },
                {
                    "url": "https://www.vulncheck.com/advisories/picomatch-through-4.0.7-glob-filter-bypass-via-globstar-line-terminators",
                    "name": "VulnCheck Advisory: picomatch through 4.0.7 Glob Filter Bypass via Globstar Line Terminators",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Wayde Shi",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Dương Ngọc Anh",
                    "type": "remediation developer"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}