fastify versions >= 4.0.0 and before 5.12.2 can route a malformed URL sent under one plugin prefix to the custom not-found handler of a different sibling plugin, and invoke it without the preHandler hook declared for that handler. The internal not-found router for encapsulated handlers dispatches malformed paths through a single shared handler pointer before URL decoding, ignoring the prefix and skipping the selected handlers normal lifecycle. An unauthenticated attacker can therefore reach an authentication-protected private fallback through an unrelated public prefix and read its full response, bypassing the authentication hook and breaking prefix encapsulation. Users should upgrade to fastify 5.12.2 or later.
The product requires authentication, but the product has an alternate path or channel that does not require authentication.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Fastify | Fastify | 4.0.0 (including) | 5.12.2 (excluding) |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-dashboard-rhel9:1791853525 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-mod-arch-model-registry-rhel9:1791853432 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-dashboard-rhel9:1791861020 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-automl-rhel9:1791861032 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-autorag-rhel9:1791860994 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-eval-hub-rhel9:1791861214 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-gen-ai-rhel9:1791861479 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-maas-rhel9:1791860708 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-mlflow-rhel9:1791861383 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-mod-arch-model-registry-rhel9:1791860918 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-core-bff-rhel9:1791945789 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-dashboard-operator-rhel9:1791947102 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-dashboard-rhel9:1791945160 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-agent-ops-rhel9:1791945066 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-automl-rhel9:1791945173 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-autorag-rhel9:1791945509 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-eval-hub-rhel9:1791946472 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-gen-ai-rhel9:1791944979 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-maas-rhel9:1791945249 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-mlflow-rhel9:1791945636 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-mod-arch-model-registry-rhel9:1791945940 | * |
| Red Hat OpenShift Dev Spaces 3.31 | RedHat | devspaces/dashboard-rhel9:1791945540 | * |