{"id":"CVE-2026-15074","aliases":["GHSA-83w8-p2f5-377r"],"summary":"@fastify/static vulnerable to route guard bypass via path traversal","published_at":"2026-07-23T03:01:47.887Z","modified_at":"2026-11-05T17:25:35Z","products":[],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006719999946653843,"percentile":0.528469979763031,"date":"2026-11-19T00:00:00Z"},"priority":9.5,"details":"@fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the file-resolution stage. This is a bypass of the earlier fix for CVE-2026-6414, which only covered encoded forward slashes. Because the underlying send library normalizes dot segments before applying its own path-traversal guard, an unauthenticated attacker can bypass any route-scoped middleware and read files inside the static root that live under the guarded URL prefix. The bypass does not allow access outside the configured static root by itself, it defeats route-guard filtering only. The issue is patched in @fastify/static 10.1.1.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"@fastify/static/@fastify/static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.1.1"}]}],"fixed":["10.1.1"],"provider":"cvelistv5","source":"CVE-2026-15074","relation":"self"},{"ecosystem":"NVD","package":"fastify:fastify-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.1.1"}]}],"fixed":["10.1.1"],"provider":"nvd","source":"CVE-2026-15074","relation":"self"},{"ecosystem":"npm","package":"@fastify/static","purl":"pkg:npm/%40fastify/static","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"10.1.1"}]}],"fixed":["10.1.1"],"provider":"osv","source":"GHSA-83w8-p2f5-377r","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-15074"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-core-bff-rhel9","rhoai/odh-dashboard-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-mod-arch-agent-ops-rhel9","rhoai/odh-mod-arch-automl-rhel9","rhoai/odh-mod-arch-autorag-rhel9","rhoai/odh-mod-arch-eval-hub-rhel9","rhoai/odh-mod-arch-gen-ai-rhel9","rhoai/odh-mod-arch-maas-rhel9","rhoai/odh-mod-arch-mlflow-rhel9","rhoai/odh-mod-arch-model-registry-rhel9"],"package_count":11,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-15074"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-15074"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-15074","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-15074","license":"CC-BY-4.0","published_at":"2026-07-23T03:01:47.887Z","modified_at":"2026-07-23T14:14:46.933Z","summary":"@fastify/static vulnerable to route guard bypass via path traversal","details":"@fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the file-resolution stage. This is a bypass of the earlier fix for CVE-2026-6414, which only covered encoded forward slashes. Because the underlying send library normalizes dot segments before applying its own path-traversal guard, an unauthenticated attacker can bypass any route-scoped middleware and read files inside the static root that live under the guarded URL prefix. The bypass does not allow access outside the configured static root by itself, it defeats route-guard filtering only. The issue is patched in @fastify/static 10.1.1.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2026-15074"}],"affected":[{"ecosystem":"CVE","package":"@fastify/static/@fastify/static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.1.1"}]}],"fixed":["10.1.1"],"provider":"cvelistv5","source":"CVE-2026-15074","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-83w8-p2f5-377r"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"}]},{"provider":"nvd","source_id":"CVE-2026-15074","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15074","severity":[],"affected":[{"ecosystem":"NVD","package":"fastify:fastify-static","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.1.1"}]}],"fixed":["10.1.1"],"provider":"nvd","source":"CVE-2026-15074","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-83w8-p2f5-377r","relation":"self","url":"https://osv.dev/vulnerability/GHSA-83w8-p2f5-377r","license":"CC-BY-4.0","published_at":"2026-07-24T16:43:21Z","modified_at":"2026-07-24T17:11:53.333358Z","summary":"@fastify/static vulnerable to route guard bypass via path traversal","details":"### Impact\n\n`@fastify/static` is vulnerable to a bypass of route-based middleware and guards via non-leading `..` and `%2E%2E` path segments. `find-my-way` does not normalize `..` when matching routes, so a request such as `/foo/../deep/secret.txt` matches the static plugin's catch-all instead of the guarded `/deep/*`. The `getPathnameForSend` helper introduced by the fix for [GHSA-x428-ghpx-8j92](https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92) only guards against the `%2F` variant; `..` and `%2E%2E` survive the `decodeURI` + `encodeURI` round-trip and are then collapsed away by `@fastify/send`'s `path.normalize` before its own traversal guard runs.\n\nApplications that rely on route-based middleware or guards to protect files served by `@fastify/static` can be bypassed with non-leading dot-dot path segments.\n\n### Patches\n\nUpgrade to `@fastify/static` 10.1.1.\n\n### Workarounds\n\nDo not use route-based middlewares or guards to protect files served by `@fastify/static`.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GHSA-83w8-p2f5-377r"}],"affected":[{"ecosystem":"npm","package":"@fastify/static","purl":"pkg:npm/%40fastify/static","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"10.1.1"}]}],"fixed":["10.1.1"],"provider":"osv","source":"GHSA-83w8-p2f5-377r","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-83w8-p2f5-377r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15074"},{"type":"WEB","url":"https://github.com/fastify/fastify-static/commit/db4276f846ba56b21f93768cd6636ee5e2fc58b1"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify-static"},{"type":"WEB","url":"https://github.com/fastify/fastify-static/releases/tag/v10.1.1"}]},{"provider":"redhat-vex","source_id":"CVE-2026-15074","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-15074","license":"CC-BY-4.0","published_at":"2026-07-23T03:01:47.887Z","modified_at":"2026-11-05T17:25:35Z","summary":"@fastify/static: @fastify/static: Information disclosure via path traversal bypass","details":"A flaw was found in @fastify/static. An unauthenticated attacker can exploit this vulnerability by using specially crafted dot-dot path segments in request pathnames. This bypasses security measures, allowing the attacker to read files located within the static root directory that are otherwise protected by route-scoped middleware. While this does not grant access outside the configured static root, it defeats intended access restrictions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2026-15074"},{"type":"Red Hat","score":"Important","source":"CVE-2026-15074"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux AI (RHEL AI) 3","cpe":"cpe:/a:redhat:enterprise_linux_ai:3","status":"affected","packages":["rhelai3/bootc-cuda-rhel9","rhelai3/bootc-gaudi-rhel9","rhelai3/bootc-rocm-rhel9","rhelai3/disk-image-cuda-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-15074"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-core-bff-rhel9","rhoai/odh-dashboard-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-mod-arch-agent-ops-rhel9","rhoai/odh-mod-arch-automl-rhel9","rhoai/odh-mod-arch-autorag-rhel9","rhoai/odh-mod-arch-eval-hub-rhel9","rhoai/odh-mod-arch-gen-ai-rhel9","rhoai/odh-mod-arch-maas-rhel9","rhoai/odh-mod-arch-mlflow-rhel9","rhoai/odh-mod-arch-model-registry-rhel9"],"package_count":11,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-15074"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-15074"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-15074.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-15074"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2506345"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-15074"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15074"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"WEB","url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-83w8-p2f5-377r"}]}],"references":[{"type":"WEB","url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-83w8-p2f5-377r"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15074"},{"type":"WEB","url":"https://github.com/fastify/fastify-static/commit/db4276f846ba56b21f93768cd6636ee5e2fc58b1"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify-static"},{"type":"WEB","url":"https://github.com/fastify/fastify-static/releases/tag/v10.1.1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-15074.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-15074"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2506345"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-15074"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-15074","url":"https://www.cve.org/CVERecord?id=CVE-2026-15074","license":"CC-BY-4.0","modified_at":"2026-07-23T14:14:46.933Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-15074","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15074","relation":"self"},{"provider":"osv","source_id":"GHSA-83w8-p2f5-377r","url":"https://osv.dev/vulnerability/GHSA-83w8-p2f5-377r","license":"CC-BY-4.0","modified_at":"2026-07-24T17:11:53.333358Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-15074","url":"https://access.redhat.com/security/cve/CVE-2026-15074","license":"CC-BY-4.0","modified_at":"2026-11-05T17:25:35Z","relation":"self"}]}
