CVE-2026-54508

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.
CVSS

No CVSS.

Configurations

No configuration.

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (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.

Information

Published : 2026-08-20 22:17

Updated : 2026-10-18 20:10


NVD link : CVE-2026-54508

Mitre link : CVE-2026-54508

CVE.ORG link : CVE-2026-54508


JSON object : View

Products Affected

No product.

CWE
CWE-918

Server-Side Request Forgery (SSRF)