Directory Traversal Affecting sqlpad package, versions <7.5.7-r13


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-SQLPAD-15703397
  • published20 Mar 2026
  • disclosed10 Mar 2026

Introduced: 10 Mar 2026

CVE-2026-31802  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Wolfi sqlpad to version 7.5.7-r13 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlpad package and not the sqlpad package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

node-tar is a full-featured Tar for Node.js. Prior to version 7.5.11, tar (npm) can be tricked 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. This vulnerability is fixed in 7.5.11.

CVSS Base Scores

version 3.1