Directory Traversal Affecting sqlpad package, versions <7.5.3-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.12% (33rd 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-SQLPAD-10323988
  • published7 Jun 2025
  • disclosed2 Jun 2025

Introduced: 2 Jun 2025

NewCVE-2025-48387  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Chainguard sqlpad to version 7.5.3-r2 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 Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.