An Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a…
Historical advisory recorded 24 Oct 2026 23:17:16 UTC. Read the latest advisory.
nvd · CVE-2024-12905
PublishedAn Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal"). This vulnerability occurs when extracting a maliciously crafted tar file, which can result in unauthorized file writes or overwrites outside the intended extraction directory. The issue is associated with index.js in the tar-fs package. This issue affects tar-fs: from 0.0.0 before 1.16.4, from 2.0.0 before 2.1.2, from 3.0.0 before 3.0.8.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-12905 · CVE overview and exploitation status
nvd · CVE-2024-12905
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.