{"id":"CVE-2026-54508","aliases":["CVE-2026-54508"],"related":[],"kind":"vulnerability","state":"published","title":"TREK: Blind SSRF via unvalidated redirect-following in Google/Naver list import and Maps URL resolution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-08-20T21:46:51.288Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 3.1.0","status":"affected"}],"vendor":"mauriceboe","product":"TREK","source":"cvelist"}],"references":[{"url":"https://github.com/liketrek/TREK/security/advisories/GHSA-f5vh-p2h5-x735","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/pull/1185","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/liketrek/TREK/releases/tag/v3.1.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-21T20:58:30.346Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54508","url":"https://www.cve.org/CVERecord?id=CVE-2026-54508","licence":"CVE Terms of Use","modified":"2026-08-21T21:45:07.846Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54508","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54508","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.736Z","epss":{"score":0.00427,"percentile":0.28719,"date":"2026-11-29T12:00:22.000Z"}}