CVE-2026-57945

PhotoPrism - Unauthorized User Profile Modification via PUT /api/v1/users/{uid} Endpoint

Published Jun 29, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

PhotoPrism before release 260601-a7d098548 contains a broken access control flaw that allows any authenticated non‑admin user to modify the profile information of any other user by sending a PUT request to /api/v1/users/{uid}. The missing validation that ties the session user to the target uid lets an attacker overwrite another user’s profile details without permission. As a result, an attacker can impersonate a user, publish false information, or otherwise compromise the integrity of user data.

Affected Systems

The vulnerable product is PhotoPrism (vendor photoprism), affecting all installations running a version earlier than 260601-a7d098548. No additional versions or products are listed as affected.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate impact; the EPSS score is currently unavailable, and the vulnerability is not listed in the CISA KEV catalog. The vulnerability requires the attacker to already be authenticated as a non‑admin user and to have network access to the API endpoint. Based on the description, the likely attack vector is a remote authenticated request to the web service, which can be leveraged once a legitimate user account with limited privileges is compromised or created.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PhotoPrism to version 260601-a7d098548 or later, which patches the session‑to‑uid validation bug.
  • Restrict the PUT /api/v1/users/{uid} endpoint so that only the owner of the uid can modify their profile; this can be done by adjusting authorization rules in the application or via a reverse‑proxy configuration.
  • If upgrading is not immediately possible, reduce the permissions of all non‑admin users so they cannot alter user profiles, thereby mitigating the unauthorized modification risk on the current version.

Generated by OpenCVE AI on June 29, 2026 at 19:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Photoprism
Photoprism photoprism
Vendors & Products Photoprism
Photoprism photoprism
Type Values Removed Values Added
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.
Title PhotoPrism - Unauthorized User Profile Modification via PUT /api/v1/users/{uid} Endpoint
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:06 PM
Reserved
Jun 26, 2026, 1:57 PM
Status
Deferred
Published
Jun 29, 2026, 6:16 PM
Modified
Jul 14, 2026, 10:17 PM