CVE-2026-18427
Last modified
CVE-2026-18427 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. @fastify/static before version 10.1.3 contains an incomplete fix for a previous route guard bypass. The static file handler rejected only parent directory segments, but it did not canonicalize dot segments, duplicate slashes, encoded dots, or backslashes before route matching and before delegating to the send layer. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
Description
@fastify/static before version 10.1.3 contains an incomplete fix for a previous route guard bypass. The static file handler rejected only parent directory segments, but it did not canonicalize dot segments, duplicate slashes, encoded dots, or backslashes before route matching and before delegating to the send layer. As a result, an unauthenticated attacker could request a file protected by a route based guard using a non canonical path form that misses the guarded route yet resolves back onto the protected file, disclosing its contents. Applications that protect a subtree of the static root with a route based guard are affected, while applications relying on the allowedPath option are not. This is fixed in @fastify/static 10.1.3, which canonicalizes the pathname, including rejecting backslashes, on the path used for routing and serving.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify-Static | < 10.1.3 |
References
- https://cna.openjsf.org/security-advisories.htmlThird Party Advisory
- https://github.com/fastify/fastify-static/security/advisories/GHSA-423g-23ch-w7c6Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-18427?
How severe is CVE-2026-18427?
How do I fix CVE-2026-18427?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-18421Concrete CMS 9 through 9.5.2 does not perform an authorizati…2.1
- CVE-2026-18422Concrete CMS before 9.5.3 did not enforce a destination-side…6.5
- CVE-2026-18423Concrete CMS 9.0.0 through 9.5.2 is vulnerable to Insecure d…7.1
- CVE-2026-18424Concrete CMS 9.0.0 to 9.5.2 is vulnerable to Server-Side Req…7.1
- CVE-2026-18425Concrete CMS 9 before 9.5.3 authorized the dashboard sitemap…2.7
- CVE-2026-18426Concrete CMS 9.0.0 through 9.5.2 did not enforce a block-lev…6.5
- CVE-2026-18428A SQL query validation bypass in the Flint extension query h…8.8
- CVE-2026-1843The Super Page Cache plugin for WordPress is vulnerable to S…7.2
- CVE-2026-18430HumHub 1.18.4 contains a stored cross-site scripting vulnera…7.2
- CVE-2026-18431The Avada theme for WordPress is vulnerable to Arbitrary Fil…9.8
- CVE-2026-18432The Frontend Admin by DynamiApps plugin for WordPress is vul…9.8
- CVE-2026-18433GitLab has remediated an issue in GitLab EE affecting all ve…4.3
Are you affected by CVE-2026-18427?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
