CVE-2026-54508
JSON

5.3medium

TREK: Blind SSRF via unvalidated redirect-following in Google/Naver list import and Maps URL resolution

Severity
5.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.43% (higher than 29% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

TREK is a collaborative travel planner. Prior to 3.1.0, TREK validates only the initial URL before native redirect following in importGoogleList() and importNaverList() in server/src/services/placeService.ts and resolveGoogleMapsUrl() in server/src/services/mapsService.ts. The affected sinks call checkSsrf() from server/src/utils/ssrfGuard.ts and then use fetch() with redirect: 'follow' instead of the DNS-pinned safeFetch() path, so a public attacker-controlled URL can redirect the server to loopback, RFC 1918, or cloud metadata addresses without revalidation. An authenticated trip member can reach the list-import routes, and any authenticated user can reach /api/maps/resolve-url, allowing blind GET requests to internal services without response-body reflection. This issue is fixed in version 3.1.0.

Affected

Product or packageVersionsReported by
mauriceboe TREK< 3.1.0CVE List

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

TREK is a collaborative travel planner. Prior to 3.1.0, TREK validates only the initial URL before native redirect following in importGoogleList() and importNaverList() in server/src/services/placeService.ts and resolveGoogleMapsUrl() in server/src/services/mapsService.ts. The affected sinks call checkSsrf() from server/src/utils/ssrfGuard.ts and then use fetch() with redirect: 'follow' instead of the DNS-pinned safeFetch() path, so a public attacker-controlled URL can redirect the server to loopback, RFC 1918, or cloud metadata addresses without revalidation. An authenticated trip member can reach the list-import routes, and any authenticated user can reach /api/maps/resolve-url, allowing blind GET requests to internal services without response-body reflection. This issue is fixed in version 3.1.0.

NVD (es)

TREK es un planificador de viajes colaborativo. Antes de la versión 3.1.0, TREK valida solo la URL inicial antes de un redireccionamiento nativo posterior en importGoogleList() e importNaverList() en server/src/services/placeService.ts y resolveGoogleMapsUrl() en server/src/services/mapsService.ts. Los sumideros afectados llaman a checkSsrf() desde server/src/utils/ssrfGuard.ts y luego usan fetch() con redirect: 'follow' en lugar de la ruta safeFetch() fijada por DNS, por lo que una URL pública controlada por el atacante puede redirigir al servidor a direcciones de loopback, RFC 1918 o metadatos de la nube sin revalidación. Un miembro de viaje autenticado puede acceder a las rutas de importación de listas, y cualquier usuario autenticado puede acceder a /api/maps/resolve-url, permitiendo solicitudes GET ciegas a servicios internos sin reflejo del cuerpo de la respuesta. Este problema está solucionado en la versión 3.1.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54508 changed 2026-08-21CVE Terms of Use
NVDCVE-2026-54508 changed 2026-10-18Public domain