Vulnerability · Published Apr 24, 2026 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity security flaw in astro from withastro. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 78.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@astrojs/node10.0.5GHSA-c57f-mm3j-27q9

Affected products (as reported)

VendorProductVersions
withastro astro < 10.0.5

Weakness: CWE-525 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References