Back to list

Astro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystems — GHSA-R3H5-4585-7X3W

GitHub · GitHub · GHSA-R3H5-4585-7X3W

ID
GHSA-R3H5-4585-7X3W
Date
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
6.3
EPSS
0.00375

Summary

## Summary The `/_image` endpoint used by the `@astrojs/node` adapter checks that a requested local image is inside the build output directory before reading it from disk. That check compared paths case-insensitively. On case-sensitive filesystems (such as Linux), a directory whose path differs from the output directory only by letter case is a different directory, but it passed the check. For example, with the…

Timeline

Published by source
2026-11-13

Risk context

  • Reported severity or threat level: medium.
  • Reported CVSS score: 6.3 out of 10.
  • Reported EPSS value: 0.00375.
  • Review exposure for the affected product or family: npm: @astrojs/node | npm: astro.

Product

npm: @astrojs/node | npm: astro

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-R3H5-4585-7X3W
Source
GitHub
Vendor
GitHub
Published by source
2026-11-13
Last source activity
2026-11-13
Additional identifiers
CVE-2026-126364
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.