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.
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| @fastify/static | @fastify/static | < 10.1.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
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-18400The Slider, Gallery, and Carousel by MetaSlider – Image Slid…6.4
- CVE-2026-18401The non-blocking (asynchronous) JSON parser in jackson-core …6.9
- CVE-2026-1841The PixelYourSite – Your smart PIXEL (TAG) & API Manager plu…7.2
- CVE-2026-18411The KARR Security System and SWDS dealer-installed automotiv…8.1
- CVE-2026-18412OpenCart extensions are uploaded as zip files with .ocmod.zi…9.1
- CVE-2026-1842HyperCloud versions 2.3.5 through 2.6.8 improperly allowed r…6.2
- CVE-2026-1843The Super Page Cache plugin for WordPress is vulnerable to S…7.2
- CVE-2026-18435The Kadence Blocks — Page Builder Toolkit for Gutenberg Edit…6.4
- CVE-2026-18436The MailPress plugin for WordPress is vulnerable to unauthor…5.3
- CVE-2026-18437The MailerPress – Newsletter, email marketing & AI automatio…5.3
- CVE-2026-1844The PixelYourSite PRO plugin for WordPress is vulnerable to …7.2
- CVE-2026-18446fast-uri before 4.1.2, 3.1.5, and 2.4.4 requires a literal d…7.5
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
