Relative Path Traversal Affecting @astrojs/node package, versions <9.4.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (5th 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 Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ASTROJSNODE-14059141
  • published20 Nov 2025
  • disclosed19 Nov 2025
  • creditMonish Basaniwal

Introduced: 19 Nov 2025

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

How to fix?

Upgrade @astrojs/node to version 9.4.5 or higher.

Overview

@astrojs/node is a Deploy your site to a Node.js server

Affected versions of this package are vulnerable to Relative Path Traversal via the href parameter in the image optimization endpoint during development mode. An attacker can access arbitrary local image files readable by the Node.js process by sending crafted HTTP requests specifying absolute file paths.

References

CVSS Base Scores

version 4.0
version 3.1