p PatchFirst

CVE-2026-40931

CVE-2026-40931 · Complete Bypass of CVE-2026-24884 Patch via Git-Delivered Symlink Poisoning in compressing

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Compressing is a compressing and uncompressing lib for node. Prior to 2.1.1 and 1.10.5, the patch for CVE-2026-24884 relies on a purely logical string validation within the isPathWithinParent utility. This check verifies if a resolved path string starts with the destination directory string but fails to account for the actual filesystem state. By exploiting this "Logical vs. Physical" divergence, an attacker can bypass the security check using a Directory Poisoning technique (pre-existing symbolic links). This vulnerability is fixed in 2.1.1 and 1.10.5.

CVSS 8.4 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • compressing

    Versions
    • >=2.0.0, < 2.1.1: Affected
    • < 1.10.5: Affected

    No fix published

  • compressing npm

    Affected ranges
    • SEMVER: ≥ 2.0.0, < 2.1.1

    Update to 2.1.1

  • compressing npm

    Affected ranges
    • SEMVER: < 1.10.5

    Update to 1.10.5

Original sources

Check your server →