CVE-2026-57945 PhotoPrism - Unauthorized User Profile Modification via PUT /api/v1/users/{uid} Endpoint
Authenticated non-admin users can modify other users' profile information due to missing authorization checks in the user update API.
- 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-57945?
CVE-2026-57945 is a medium-severity missing authorization vulnerability in photoprism, published on 29 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
PhotoPrism before 260601-a7d098548 contains a broken access control vulnerability that allows authenticated non-admin users to modify other users' profile information by sending requests to arbitrary user endpoints. Attackers can exploit the missing session-to-user identifier validation in the PUT users API endpoint to overwrite another user's profile details without authorization.
Weakness: CWE-639
Which versions are affected by CVE-2026-57945?
How do I fix CVE-2026-57945?
No fix has been published for CVE-2026-57945 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-57945 being exploited?
There is no known exploitation of CVE-2026-57945 in the wild and no public exploit code.
Sources
Also known as GHSA-2h2f-frxq-r68w.