Skip to main content
VulnerabilityPublished

CVE-2025-64765: withastro astro · Path Traversal

Affects withastro astroSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium : upgrade to 5.15.8 when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 45% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.15.8
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade withastro astro to 5.15.8.

Affected software

ProductAffectedFixed in
npmastropkg:npm/astroOther threatsAffected
  • <5.15.8
Fixed in
  • 5.15.8

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade all Astro framework instances to version 5.15.8 or later, where the vulnerability is patched. Additionally, review and harden middleware validation logic to ensure consistent path normalization, ideally applying decodeURI() or equivalent decoding before validation checks. Implement strict input validation and canonicalization for all incoming request paths to prevent encoded path bypasses. Conduct thorough security testing, including fuzzing and penetration testing, focusing on path traversal and access control bypass scenarios. Employ web application firewalls (WAFs) with rules targeting path traversal attempts and unusual encoded URL patterns. Monitor application logs for suspicious access patterns involving encoded paths. Educate development teams about the importance of consistent path handling between routing and middleware layers. Finally, maintain an inventory of web applications using Astro to ensure timely patching and vulnerability management.

Description

Astro is a web framework. Prior to version 5.15.8, a mismatch exists between how Astro normalizes request paths for routing/rendering and how the application’s middleware reads the path for validation checks. Astro internally applies decodeURI() to determine which route to render, while the middleware uses context.url.pathname without applying the same normalization (decodeURI). This discrepancy may allow attackers to reach protected routes using encoded path variants that pass routing but bypass validation checks. This issue has been patched in version 5.15.8.

References

Community reviews

Loading reviews…