CVE-2026-18427 @fastify/static vulnerable to route guard bypass via non-canonical path segments
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
28 packages: 2 fixed, 26 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/devspaces/dashboard-rhel9:1791945540(Red Hat openshift_devspaces 3.31 el9) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-core-bff-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-operator-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9:1791853525(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9:1791861020(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9:1791945160(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-agent-ops-rhel9:1791945066(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-automl-rhel9:1791861032(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-automl-rhel9:1791945173(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-autorag-rhel9:1791860994(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-autorag-rhel9:1791945509(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9:1791861214(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9:1791946472(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1791861479(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1791944979(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-maas-rhel9:1791860708(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-maas-rhel9:1791945249(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9:1791861383(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9:1791945636(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1791853432(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1791860918(Red Hat openshift_ai 3.4 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1791945940(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| @fastify/static | < 10.1.3 | 10.1.3 | Fixed |
| fastify-static | < 10.1.3 | 10.1.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @fastify/static | < 10.1.3 | 10.1.3 |
| redhat/rhoai/odh-dashboard-rhel9:1791853525(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1791853432(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9:1791861020(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-automl-rhel9:1791861032(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-autorag-rhel9:1791860994(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9:1791861214(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1791861479(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9:1791860708(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9:1791861383(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1791860918(Red Hat:openshift_ai:3.4::el9) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9:1791945160(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-agent-ops-rhel9:1791945066(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-automl-rhel9:1791945173(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-autorag-rhel9:1791945509(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9:1791946472(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1791944979(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9:1791945249(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9:1791945636(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1791945940(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/devspaces/dashboard-rhel9:1791945540(Red Hat:openshift_devspaces:3.31::el9) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhoai/odh-core-bff-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-operator-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| fastify-static | < 10.1.3 | 10.1.3 |
References
- github.com mitigation vendor-advisory
- cna.openjsf.org third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:87410 patch vendor-advisory
- RHSA-2026:84734 patch vendor-advisory
- RHSA-2026:86891 patch vendor-advisory
- RHSA-2026:90321 patch vendor-advisory
- Red Hat Bugzilla 2512116 issue-tracking
- www.cve.org
- nvd.nist.gov
- ENISA EUVD EUVD-2026-54086 third-party-advisory