{"id":"CVE-2026-54508","summary":"TREK: Blind SSRF via unvalidated redirect-following in Google/Naver list import and Maps URL resolution","details":"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.","aliases":["GHSA-f5vh-p2h5-x735"],"modified":"2026-08-23T03:42:39.757303822Z","published":"2026-08-20T21:46:51.288Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54508.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-918"]},"references":[{"type":"WEB","url":"https://github.com/liketrek/TREK/releases/tag/v3.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54508.json"},{"type":"ADVISORY","url":"https://github.com/liketrek/TREK/security/advisories/GHSA-f5vh-p2h5-x735"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54508"},{"type":"FIX","url":"https://github.com/liketrek/TREK/commit/ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11"},{"type":"FIX","url":"https://github.com/liketrek/TREK/pull/1185"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/liketrek/trek","events":[{"introduced":"0"},{"fixed":"ad893eb1cc75b6d56f402d73a6d41bd48ba7ae11"},{"fixed":"f6af1d67a2630d77dcce39a92ac5599d08d7a5a1"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.1.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v3.0.22","v3.0.21","v3.0.20","v3.0.19","v3.0.18","v3.0.17","v3.0.16","v3.0.15","v3.0.14","v3.0.13","v3.0.12","v3.0.11","v3.0.10","v3.0.9","v3.0.8","v3.0.7","v3.0.6","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.9.14","v2.9.13","v2.9.12","v2.9.11","v2.9.10","v2.9.9","v2.9.8","v2.9.7","v2.9.6","v2.9.5","v2.9.4","v2.9.2","v2.8.4","v2.8.0","v2.7.2","v2.7.0","v2.6.2","v2.6.1","v2.6.0","v2.5.7","v2.5.6","v2.5.5","v2.5.4","v2.5.2","v2.5.1","v2.5.0","v2.4.0","v2.3.5","v2.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54508.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}