> CVE-2026-22037 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-01-19 17:15
MODIFIED
2026-01-19 17:15
CVSS_SCORE V3
8.4
EPSS (Prob. Exploit)
0.35%
Top 71.3%
DATA SOURCES:
NVD 🔗 2026-01-19 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-04 OSV 🔗 2026-11-08

> DESCRIPTION

The @fastify/express plugin adds full Express compatibility to Fastify. A security vulnerability exists in @fastify/express prior to version 4.0.3 where middleware registered with a specific path prefix can be bypassed using URL-encoded characters (e.g., `/%61dmin` instead of `/admin`). While the middleware engine fails to match the encoded path and skips execution, the underlying Fastify router correctly decodes the path and matches the route handler, allowing attackers to access protected endpoints without the middleware constraints. The vulnerability is caused by how @fastify/express matches requests against registered middleware paths. This vulnerability is similar to, but differs from, CVE-2026-22031 because this is a different npm module with its own code. Version 4.0.3 of @fastify/express contains a patch fort the issue.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
EXPLOITABILITY
1.8
IMPACT
6.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-177 CWE-288

> CWE DETAILED DESCRIPTIONS

CWE-177: Improper Handling of URL Encoding (Hex Encoding) - The product does not properly handle when all or part of an input has been URL encoded. | CWE-288: Authentication Bypass Using an Alternate Path or Channel - The product requires authentication, but the product has an alternate path or channel that does not require authentication.

> GITHUB SECURITY ADVISORY

GHSA-g6q3-96cp-5r5m HIGH

@fastify/express vulnerable to Improper Handling of URL Encoding (Hex Encoding)

AFFECTED PACKAGES:
NPM / @fastify/express
<= 4.0.2
Fixed in: 4.0.3

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

@fastify/express vulnerable to Improper Handling of URL Encoding (Hex Encoding)

AFFECTED PACKAGES:
Unknown / Unknown
18 versions affected
ALIASES:
GHSA-g6q3-96cp-5r5m

> HISTORIQUE DES MODIFICATIONS

Première apparition
19/01/2026 17:15
Source: NVD
📊 ENRICHISSEMENT 01/02/2026 06:44
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-177: Improper Handling of URL Encoding (Hex Encoding) - The product does not properly handle when all or part of an input has been URL encoded. | CWE-288: Authentication Bypass Using an Alternate ...
Total des modifications: 1 Dernière mise à jour: 9 months ago

> REFERENCES

https://github.com/fastify/fastify-express/commit/dc02a3fe1387f945143f22597baa42...
https://github.com/fastify/fastify-express/security/advisories/GHSA-g6q3-96cp-5r...
« BACK_TO_HOME