Duty analyst on shift

UK Cyber Defence
VulnerabilityDeferred

CVE-2024-12905

An Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal").

EXPLOITHIGH 7.5EPSS 2.30%

Does this matter?

A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 2.3%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.

Description

An 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.

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
2.30% probability · 84th percentile
Public exploits
1 in Exploit-DB · first 22 April 2025
CISA KEV
Not listed
Weakness
CWE-22: Path traversalCWE-59: Improper link resolution before file access
Source
22e2d327-25fe-45d7-9f0c-dcd23b7108df

In plain terms

It can be reached over a network with no login and no help from a user. On a system exposed to the internet, a patch or a network control is all that stands in the way.

Reached from
Over a network. If the affected system can be reached from the internet, so can the flaw.
Effort
Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
Login needed
None. No login is needed.
Someone else involved
No. Nobody has to click, open or approve anything.
At risk
Reading data: none. Changing data: serious. Stopping the service: none.

Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.

The first public exploit in Exploit-DB is dated 22 April 2025, 26 days after the record was published.

EPSS trend
0%3%5%4 December 2026: 2.30%4 December 20264 December 2026

EPSS 2.3% since 4 December 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-52268source ↗tar-fs 3.0.0 - Arbitrary File Write/Overwritelinux · cybersploitlocal22 April 2025no

Where to go from here

One vulnerability is rarely the whole question. These are free, and none of them asks for an account.

By email

Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.

Double opt-in. Unsubscribe in one click. No sharing, ever.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.