# CVE-2026-40185: Missing Authorization on Immich Trip Photo Routes in TREK

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A: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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-04-10T19:40:16.382Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- mauriceboe TREK: < 2.7.2; up to 2.7.1

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/mauriceboe/TREK/security/advisories/GHSA-pcr3-6647-jh72> (vendor-advisory)
- <https://github.com/mauriceboe/TREK/commit/16277a3811a00c2983f7486fee83c112986cb179> (patch)
- <https://github.com/mauriceboe/TREK/releases/tag/v2.7.2> (release-notes)

## Sources

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

---

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