CVE-2026-18427
fastify fastify-static
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.5
- Severity
- 7.5
- EPSS
- 0.4 %
- Percentile
- 40
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run fastify fastify-static. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVD@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.
- Vendor / product
- fastify fastify-static
- Published
- 06.08.2026
- Modified
- 04.09.2026
- CWE
- CWE-22
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vendor updates
5- Red Hat: RHSA-2026:95872 – RHSA-2026:95872 registry.redhat.io/rhoai/odh-automl-rhel9@sha256:461579f7edaebbf77d9f5838a10b3927793cfce86cdf43a1ac7a70763 … 06.11.2026 · Patch day
- Red Hat: RHSA-2026:90321 – RHSA-2026:90321 registry.redhat.io/devspaces/code-rhel9@sha256:43a1bdbd4f337c81bc1a789c07d716e74a4a08f8e60374769ccd1bc202c … 26.10.2026 · Patch day
- Red Hat: RHSA-2026:87410 – RHSA-2026:87410 registry.redhat.io/rhoai/odh-built-in-detector-rhel9@sha256:c6e5097504395b9b122dd8d20f28070e92d962af9df7d2 … 21.10.2026 · Patch day
- Red Hat: RHSA-2026:86891 – RHSA-2026:86891 registry.redhat.io/rhoai/odh-ai-gateway-operator-rhel9@sha256:7c11a4e55823f20428781b68e8bf5f4e9f86c70c18f4 … 21.10.2026 · Patch day
- Red Hat: RHSA-2026:84734 – RHSA-2026:84734 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9@sha256:ed41f0e958795e4f1bb9ca555744330ed2 … 19.10.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.