Improper Handling of Case Sensitivity Affecting @astrojs/node package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (32nd 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-JS-ASTROJSNODE-22552518
  • published15 Nov 2026
  • disclosed13 Nov 2026
  • creditZachariah Mithani

Introduced: 13 Nov 2026

NewCVE-2026-126364  (opens in a new tab)
CWE-178  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for @astrojs/node.

Overview

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

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity in the /_image endpoint used by the @astrojs/node adapter, where the check that a requested local image is inside the build output directory compares paths case-insensitively. An attacker can read image files from outside the output directory by requesting /_image with an href such as /../../DIST/client/secret.png, which resolves to a directory that differs from the output directory only by letter case. Only sites that use on-demand rendering with @astrojs/node on a case-sensitive filesystem, with a case-variant directory next to the output directory, are affected, and only files the image service accepts can be read.

CVSS Base Scores

version 4.0
version 3.1