---
id: CVE-2026-62945
title: TREK is a collaborative travel planner
summary: >-
  TREK is a collaborative travel planner. Prior to 3.1.3, TREK file upload,
  update, and link actions accept attacker-controlled reservation_id, place_id,
  and assignment_id values without using findForeignLinkTarget() to verify that
  the ref…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-639
published: '2026-08-20'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-62945'
references:
  - url: >-
      https://github.com/liketrek/TREK/commit/03cdb4d27689922460ba87085d04b426d4d40d26
    label: security-advisories@github.com
  - url: 'https://github.com/liketrek/TREK/pull/1324'
    label: security-advisories@github.com
  - url: 'https://github.com/liketrek/TREK/releases/tag/v3.1.3'
    label: security-advisories@github.com
  - url: 'https://github.com/liketrek/TREK/security/advisories/GHSA-r4cp-666p-8f69'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00256
epssPercentile: 0.17563
ingestedAt: '2026-09-18T20:51:25.650Z'
---

## Overview

TREK is a collaborative travel planner. Prior to 3.1.3, TREK file upload, update, and link actions accept attacker-controlled reservation_id, place_id, and assignment_id values without using findForeignLinkTarget() to verify that the referenced object belongs to the file's trip. An authenticated user with file-edit permission on any accessible trip can submit a foreign reservation identifier through POST /api/trips/:tripId/files/:id/link, POST /api/trips/:tripId/files, or PUT /api/trips/:tripId/files/:id. Subsequent reads through FILE_SELECT or getFileLinks() join the foreign reservation and return reservation_title, disclosing reservation existence and titles across private trip boundaries. This issue is fixed in version 3.1.3.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
