{"id":"CVE-2026-54508","state":"PUBLISHED","title":"TREK: Blind SSRF via unvalidated redirect-following in Google/Naver list import and Maps URL resolution","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.","publishedAt":"2026-08-20T21:46:51.288Z","updatedAt":"2026-08-21T21:45:07.846Z","severity":{"score":5.3,"label":"Medium","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["mauriceboe TREK"],"affected":[{"vendor":"mauriceboe","product":"TREK","versions":[{"version":"< 3.1.0","status":"affected"}]}],"references":["https://github.com/liketrek/TREK/security/advisories/GHSA-f5vh-p2h5-x735","https://github.com/liketrek/TREK/pull/1185","https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11","https://github.com/liketrek/TREK/releases/tag/v3.1.0"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54508.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54508","state":"PUBLISHED","datePublished":"2026-08-20T21:46:51.288Z","dateUpdated":"2026-08-21T21:45:07.846Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T18:01:15.512Z"},"containers":{"cna":{"title":"TREK: Blind SSRF via unvalidated redirect-following in Google/Naver list import and Maps URL resolution","descriptions":[{"lang":"en","value":"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":[{"vendor":"mauriceboe","product":"TREK","versions":[{"version":"< 3.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/liketrek/TREK/security/advisories/GHSA-f5vh-p2h5-x735","name":"https://github.com/liketrek/TREK/security/advisories/GHSA-f5vh-p2h5-x735","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/liketrek/TREK/pull/1185","name":"https://github.com/liketrek/TREK/pull/1185","tags":["x_refsource_MISC"]},{"url":"https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11","name":"https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11","tags":["x_refsource_MISC"]},{"url":"https://github.com/liketrek/TREK/releases/tag/v3.1.0","name":"https://github.com/liketrek/TREK/releases/tag/v3.1.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-20T21:46:51.288Z"},"source":{"advisory":"GHSA-f5vh-p2h5-x735","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-21T20:58:30.346217Z","id":"CVE-2026-54508","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-21T21:45:07.846Z"}}]}}}