{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-140235",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-11-30T22:04:22.617Z",
        "datePublished": "2026-12-01T17:11:35.244Z",
        "dateUpdated": "2026-12-01T17:11:53.186Z"
    },
    "containers": {
        "cna": {
            "title": "node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-20",
                            "lang": "en",
                            "description": "CWE-20: Improper Input Validation",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-436",
                            "lang": "en",
                            "description": "CWE-436: Interpretation Conflict",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.2,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/isaacs/node-tar/security/advisories/GHSA-rgjp-p5j7-w36x",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/isaacs/node-tar/security/advisories/GHSA-rgjp-p5j7-w36x"
                },
                {
                    "name": "https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237"
                },
                {
                    "name": "https://github.com/isaacs/node-tar/releases/tag/v8.0.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/isaacs/node-tar/releases/tag/v8.0.0"
                }
            ],
            "affected": [
                {
                    "vendor": "isaacs",
                    "product": "node-tar",
                    "versions": [
                        {
                            "version": ">= 7.5.0, < 8.0.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-12-01T17:11:53.186Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "node-tar is a tar archive manipulation library for Node.js. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry attribute. Default extraction confines a forged path to the extraction root. When preservePaths is enabled, the forged path may instead be absolute or contain a parent-directory component. This issue is fixed in version 8.0.0."
                }
            ],
            "source": {
                "advisory": "GHSA-rgjp-p5j7-w36x",
                "discovery": "UNKNOWN"
            }
        }
    }
}