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

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 29% of CVEs (2026-11-29)
- Published: 2026-08-20T21:46:51.288Z
- Modified: 2026-10-18T20:10:00.110Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- mauriceboe TREK: < 3.1.0

## 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>

## Sources

- CVE List: [CVE-2026-54508](https://www.cve.org/CVERecord?id=CVE-2026-54508), CVE Terms of Use, modified 2026-08-21
- NVD: [CVE-2026-54508](https://nvd.nist.gov/vuln/detail/CVE-2026-54508), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-54508 · Whole record: https://cve.day/CVE-2026-54508.json · Rebuilt by cve.day 2026-11-25T22:59:34.736Z
