5.3medium
Time-based user enumeration in TREK authentication endpoint
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
TREK is a collaborative travel planner. Prior to 3.0.18, early return on missing user during login flow allowed an attacker to enumerate valid user accounts via response timing discrepancy. When an email address existed in the database, the backend performed a bcrypt password comparison before returning a 401 Unauthorized, adding ~370 ms of latency. When the email did not exist, the backend returned immediately (~10 ms). This ~14× timing difference could be detected without any difference in HTTP status codes or response bodies. This vulnerability is fixed in 3.0.18.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mauriceboe TREK | < 3.0.18 | CVE List |
Classification
What each source says
CVE List
TREK is a collaborative travel planner. Prior to 3.0.18, early return on missing user during login flow allowed an attacker to enumerate valid user accounts via response timing discrepancy. When an email address existed in the database, the backend performed a bcrypt password comparison before returning a 401 Unauthorized, adding ~370 ms of latency. When the email did not exist, the backend returned immediately (~10 ms). This ~14× timing difference could be detected without any difference in HTTP status codes or response bodies. This vulnerability is fixed in 3.0.18.
NVD (es)
TREK es un planificador de viajes colaborativo. Antes de la versión 3.0.18, un retorno temprano por usuario inexistente durante el flujo de inicio de sesión permitió a un atacante enumerar cuentas de usuario válidas a través de una discrepancia en el tiempo de respuesta. Cuando una dirección de correo electrónico existía en la base de datos, el backend realizaba una comparación de contraseña bcrypt antes de devolver un 401 No autorizado, añadiendo ~370 ms de latencia. Cuando el correo electrónico no existía, el backend devolvía inmediatamente (~10 ms). Esta diferencia de tiempo de ~14× podía detectarse sin ninguna diferencia en los códigos de estado HTTP o los cuerpos de respuesta. Esta vulnerabilidad está corregida en la versión 3.0.18.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45410 changed 2026-05-29 | CVE Terms of Use |
| NVD | CVE-2026-45410 changed 2026-07-21 | Public domain |