SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · News

node-tar: Symlink containment bypass via chained symlinks lets tar.x() create...

Original article at CVE: New (opens in a new tab)

Source
CVE: New
Published
December 1, 2026
In the briefing
since December 1, 2026

Summary

CVE-2026-140250 affects node-tar, the Node.js library for reading and writing tar archives. According to the advisory, versions from 7.5.5 up to but not including 8.0.0 validate symbolic link targets incorrectly when an archive contains chained links, so a crafted archive can make tar.x() create a link pointing outside the extraction directory. If the application later follows that link, files elsewhere could be read or altered with the application's privileges. GitHub, as assigner, rates it high, CVSS 4.0 score 7.2, under CWE-22 and CWE-59. The fix is in node-tar 8.0.0.

Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

Read the full story at CVE: New (opens in a new tab)