Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-41322 EUVD-2026-25580GHSA-c57f-mm3j-27q9

@astrojs/node: Cache Poisoning due to incorrect error handling when if-match header is malformed

Published Apr 24, 2026 · Updated Apr 25, 2026 · Assigned by GitHub_M

Description

@astrojs/node allows Astro to deploy your SSR site to Node targets. Prior to 10.0.5, requesting a static js/css resources from _astro path with an incorrect/malformed if-match header returns a 500 error with a one year cache lifetime instead of 412 in some cases. This has the effect that all subsequent requests to that file, regardless of if-match header will be served a 5xx error instead of the file until the cache expires. This vulnerability is fixed in 10.0.5.

Affected products

VendorProductAffectedFixed
withastro astro < 10.0.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @astrojs/node < 10.0.5 10.0.5 GHSA-c57f-mm3j-27q9

References