{"id":"CVE-2026-54509","state":"PUBLISHED","title":"TREK IDOR: any authenticated user can read another user's journey share token (full journey leak)","description":"TREK is a collaborative travel planner. From 3.0.0 until 3.1.0, the GET /api/journeys/:id/share-link route in server/src/routes/journey.ts returns the result of getJourneyShareLink() from server/src/services/journeyShareService.ts without checking whether the authenticated requester can access the journey. Any ordinary authenticated user can enumerate sequential journey IDs and retrieve tokens from journey_share_tokens for another user's journey. The token grants unauthenticated access through GET /api/public/journey/:token to the shared journey's entries, captions, locations, moods, gallery photos, photo paths, and asset identifiers. This issue is fixed in version 3.1.0.","publishedAt":"2026-08-20T21:49:49.877Z","updatedAt":"2026-08-21T14:57:42.795Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["mauriceboe TREK"],"affected":[{"vendor":"mauriceboe","product":"TREK","versions":[{"version":">= 3.0.0, < 3.1.0","status":"affected"}]}],"references":["https://github.com/liketrek/TREK/security/advisories/GHSA-mx6m-qxv8-w624","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-862"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54509.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54509","state":"PUBLISHED","datePublished":"2026-08-20T21:49:49.877Z","dateUpdated":"2026-08-21T14:57:42.795Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T18:01:15.513Z"},"containers":{"cna":{"title":"TREK IDOR: any authenticated user can read another user's journey share token (full journey leak)","descriptions":[{"lang":"en","value":"TREK is a collaborative travel planner. From 3.0.0 until 3.1.0, the GET /api/journeys/:id/share-link route in server/src/routes/journey.ts returns the result of getJourneyShareLink() from server/src/services/journeyShareService.ts without checking whether the authenticated requester can access the journey. Any ordinary authenticated user can enumerate sequential journey IDs and retrieve tokens from journey_share_tokens for another user's journey. The token grants unauthenticated access through GET /api/public/journey/:token to the shared journey's entries, captions, locations, moods, gallery photos, photo paths, and asset identifiers. This issue is fixed in version 3.1.0."}],"affected":[{"vendor":"mauriceboe","product":"TREK","versions":[{"version":">= 3.0.0, < 3.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/liketrek/TREK/security/advisories/GHSA-mx6m-qxv8-w624","name":"https://github.com/liketrek/TREK/security/advisories/GHSA-mx6m-qxv8-w624","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":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-20T21:49:49.877Z"},"source":{"advisory":"GHSA-mx6m-qxv8-w624","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/liketrek/TREK/security/advisories/GHSA-mx6m-qxv8-w624","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-21T14:57:35.764393Z","id":"CVE-2026-54509","options":[{"Exploitation":"poc"},{"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-21T14:57:42.795Z"}}]}}}