Skip to content
Heist/ feed
Back to feed
Medium

TREK: Public trip share link ignores the `share_map` permission server-side (client-enforced authorization → itinerary/location disclosure)

Type: advisorySources: OSV

TREK is a collaborative travel planner. Prior to 3.3.0, getSharedTripData in server/src/services/shareService.ts returns days, assignments, dayNotes, and places through GET /api/shared/:token even when the trip owner disables share_map. The client hides the map, but the public JSON response still includes the itinerary and place names, coordinates, addresses, descriptions, notes, and prices. Anyone holding the valid share token can therefore read location and route information that the owner explicitly chose not to share, although the random token remains required and the flaw does not permit modification. This issue is fixed in version 3.3.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-77320
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:13 UTC · Revision 1

Source evidence

TREK: Public trip share link ignores the `share_map` permission server-side (client-enforced authorization → itinerary/location disclosure)

core-osv · Original source

Published 24 Sept 2026, 18:05 UTC

TREK is a collaborative travel planner. Prior to 3.3.0, getSharedTripData in server/src/services/shareService.ts returns days, assignments, dayNotes, and places through GET /api/shared/:token even when the trip owner disables share_map. The client hides the map, but the public JSON response still includes the itinerary and place names, coordinates, addresses, descriptions, notes, and prices. Anyone holding the valid share token can therefore read location and route information that the owner explicitly chose not to share, although the random token remains required and the flaw does not permit modification. This issue is fixed in version 3.3.0.

osv:CVE-2026-77320
Complete source record
{
  "id": "90c163b9ff5cf10acd565b70a54a6052be8cfff326a40e8087969252128aca15",
  "url": "https://osv.dev/vulnerability/CVE-2026-77320",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "TREK: Public trip share link ignores the `share_map` permission server-side (client-enforced authorization → itinerary/location disclosure)",
    "summary": "TREK is a collaborative travel planner. Prior to 3.3.0, getSharedTripData in server/src/services/shareService.ts returns days, assignments, dayNotes, and places through GET /api/shared/:token even when the trip owner disables share_map. The client hides the map, but the public JSON response still includes the itinerary and place names, coordinates, addresses, descriptions, notes, and prices. Anyone holding the valid share token can therefore read location and route information that the owner explicitly chose not to share, although the random token remains required and the flaw does not permit modification. This issue is fixed in version 3.3.0.",
    "evidence": "osv:CVE-2026-77320",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-77320",
      "aliases": [
        "CVE-2026-77320",
        "GHSA-9hc8-p7gm-p7mx"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/liketrek/trek",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f9c992ec9363301762ac00e97747c1dd0fe37d6b"
                },
                {
                  "fixed": "19064b39176660f3be3a2df198c87949504046e2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.3.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "19064b39176660f3be3a2df198c87949504046e2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f9c992ec9363301762ac00e97747c1dd0fe37d6b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.3.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "plugin-sdk-v1.3.1",
            "v3.2.1",
            "plugin-sdk-v1.3.0",
            "v3.2.0",
            "v3.1.4",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "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-77320.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.417483567Z",
      "provider": "osv",
      "references": [
        "https://github.com/liketrek/TREK/releases/tag/v3.3.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77320.json",
        "https://github.com/liketrek/TREK/security/advisories/GHSA-9hc8-p7gm-p7mx",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-77320",
        "https://github.com/liketrek/TREK/commit/19064b39176660f3be3a2df198c87949504046e2",
        "https://github.com/liketrek/TREK/pull/1520"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200",
          "CWE-284",
          "CWE-602"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77320.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-77320",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499569,
  "published_at": "2026-09-24T18:05:13.791+00:00"
}