PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-126364 withastro CVE debrief

CVE-2026-126364 debrief: The @astrojs/node adapter's image endpoint allows an unauthenticated attacker to read image files from a case-variant sibling directory of the output directory on case-sensitive filesystems. This occurs because the endpoint checks if a requested local image is inside the build output directory using a case-insensitive path comparison. Defenders of Astro sites using on-demand rendering with @astrojs/node, especially those running on case-sensitive filesystems, should assess their exposure and verify if a vulnerable directory layout exists. The attack requires a specific directory layout that is unusual and cannot be created by the attacker. Only files the [

Vendor
withastro
Product
@astrojs/node
CVSS
MEDIUM 6.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-13
Original CVE updated
2026-11-13
Advisory published
2026-11-13
Advisory updated
2026-11-13

Who should care

Defenders of Astro sites using on-demand rendering with the @astrojs/node adapter, especially those running on case-sensitive filesystems, should assess their exposure and verify if a vulnerable directory layout exists.

Why it matters

CVE-2026-126364 allows an unauthenticated attacker to read image files from outside the output directory on case-sensitive filesystems under specific conditions. Defenders of Astro sites using on-demand rendering with @astrojs/node should assess exposure and verify if a vulnerable directory layout exists.

  • An unauthenticated attacker can read image files from outside the output directory
  • The attack requires a specific directory layout that is unusual and cannot be created by the attacker
  • Only files accepted by the image service can be read
  • Remediation priority is high for sites with a vulnerable layout

Technical summary

The @astrojs/node adapter's image endpoint checks if a requested local image is inside the build output directory using a case-insensitive path comparison. On case-sensitive filesystems, this allows an attacker to read image files from a case-variant sibling directory of the output directory. The vulnerability exists because the path comparison does not account for case differences in directory names. An unauthenticated attacker can exploit this to read image files outside the output directory, but only under specific conditions related to the filesystem layout and the types of files the image service accepts.

Defensive priority

Assess exposure for Astro sites using on-demand rendering with @astrojs/node adapter on case-sensitive filesystems

Recommended defensive actions

  • Assess if your Astro site uses on-demand rendering with the @astrojs/node adapter on a case-sensitive filesystem
  • Verify if a directory exists whose path matches the output directory except for letter case
  • Check if the image service accepts files that could be read by an attacker
  • Consider upgrading to a fixed version of @astrojs/node or applying compensating controls
  • Monitor for unusual image file access patterns

Evidence notes

The CVE record and source item provide details on the vulnerability in @astrojs/node, which allows an unauthenticated attacker to read image files from outside the output directory under specific conditions.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-126364 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-126364

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-126364 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126364

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.