USN-8367-1: tar-fs vulnerabilities

Published Jun 2, 2026
·
Updated

It was discovered that tar-fs did not properly limit paths when extracting crafted tar files. An attacker could possibly use this issue to write or overwrite files outside the intended extraction directory. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-12905) It was discovered that tar-fs did not properly validate extraction paths for certain crafted tar archives. An attacker could possibly use this issue to write files outside the intended extraction directory. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-48387) It was discovered that tar-fs had a symlink validation bypass when extracting crafted tar files. An attacker could possibly use this issue to write files outside the intended extraction directory. (CVE-2025-59343)

Affected Software

7 affected componentsFixes available
npm/tar-fs
All of the following
ubuntu/node-tar-fs<3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1
3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1
Ubuntu Ubuntu=25.10
All of the following
ubuntu/node-tar-fs<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=24.04
All of the following
ubuntu/node-tar-fs<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=22.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/node-tar-fs to a version that resolves this vulnerability.

    Fixed in 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1
  2. Upgrade

    Upgrade ubuntu/node-tar-fs to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro

Event History

Jun 2, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are explicitly identified as affected by the path-limiting and path-validation issues?

CVE-2024-12905 and CVE-2025-48387 are identified as affecting Ubuntu 22.04 LTS and Ubuntu 24.04 LTS only. The provided data does not state Ubuntu version restrictions for CVE-2025-59343.

2

What would an attacker need to exploit these issues?

An attacker would need to cause extraction of a crafted tar archive. The archive can contain paths or symlink behavior that bypasses the intended extraction-directory restrictions.

3

What is the potential impact of successful exploitation?

Successful exploitation may allow files to be written or overwritten outside the intended extraction directory. This could affect arbitrary locations reachable by the permissions of the process performing extraction.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203