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

High 7.1 Published Updated

Attackers can access or modify trip photo management routes in TREK without proper authorization checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-40185?

CVE-2026-40185 is a high-severity missing authorization vulnerability in mauriceboe TREK, published on 10 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2026-40185?

It affects 1 product.

Products include Mauriceboe Trek.

How do I fix CVE-2026-40185?

No fix has been published for CVE-2026-40185 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-40185 being exploited?

There is no known exploitation of CVE-2026-40185 in the wild and no public exploit code.

Sources

Also known as GHSA-pcr3-6647-jh72.

Is CVE-2026-40185 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free