Path traversal in node-tar - CVE-2026-31802

 

Path traversal in node-tar - CVE-2026-31802

Published: April 22, 2026 / Updated: April 23, 2026


Vulnerability identifier: #VU126872
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-31802
CWE-ID: CWE-22
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A local user can trick tar (npm) into creating a symlink that points outside the extraction directory by using a drive-relative symlink target such as C:../../../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction.


Affected software

node-tar
Confluence Data Center
Jira Service Management Data Center
Jira Software Data Center
Maximo Application Suite - Visual Inspection Component

How to mitigate CVE-2026-31802

Install updates from vendor's website.

node-tar - update to 7.5.11
Confluence Data Center - addressed in versions 9.2.19, 10.2.10
Maximo Application Suite - Visual Inspection Component - addressed in versions 8.9.21, 9.0.19, 9.1.12
Jira Service Management Data Center - update to 11.3.5
Jira Software Data Center - update to 11.3.5

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins