CVE-2026-39243

Source
https://cve.org/CVERecord?id=CVE-2026-39243
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39243.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-39243
Downstream
Published
2026-07-09T00:00:00Z
Modified
2026-07-16T03:48:29.705716001Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

decompress before 4.2.2 allows arbitrary hardlink creation during archive extraction, enabling file read disclosure and file corruption. When processing hardlink entries (type === 'link'), the x.linkname field from the archive is passed directly to fs.link() without validation (index.js line 113). An attacker can craft an archive with a hardlink entry whose linkname is an absolute path to any file on the same filesystem. This creates a hardlink inside the extraction directory that shares the same inode as the target file, enabling both reading and overwriting the original file's content. Hardlinks are limited to files on the same filesystem and cannot target directories.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39243.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "4.2.2"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/kevva/decompress

Affected ranges

Type
GIT
Repo
https://github.com/kevva/decompress
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "cpe": "cpe:2.3:a:decompress_project:decompress:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "4.2.1"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v3.*
v3.0.0
v4.*
v4.0.0
v4.1.0
v4.2.0
v4.2.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39243.json"