{"id":"CVE-2026-40185","summary":"Missing Authorization on Immich Trip Photo Routes in TREK","details":"TREK is a collaborative travel planner. Prior to 2.7.2, TREK was missing authorization checks on the Immich trip photo management routes. This vulnerability is fixed in 2.7.2.","aliases":["GHSA-pcr3-6647-jh72"],"modified":"2026-08-27T03:30:45.914549602Z","published":"2026-04-10T19:40:16.382Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40185.json"},"references":[{"type":"WEB","url":"https://github.com/mauriceboe/TREK/releases/tag/v2.7.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40185.json"},{"type":"ADVISORY","url":"https://github.com/mauriceboe/TREK/security/advisories/GHSA-pcr3-6647-jh72"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40185"},{"type":"FIX","url":"https://github.com/mauriceboe/TREK/commit/16277a3811a00c2983f7486fee83c112986cb179"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/liketrek/TREK","events":[{"introduced":"0"},{"fixed":"16277a3811a00c2983f7486fee83c112986cb179"},{"fixed":"71403e63035b644c25eb56603951822800e2186a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.7.2"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["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-40185.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N"}]}