Authorization Bypass Through User-Controlled Key Affecting github.com/photoprism/photoprism/internal/api package, versions <26.06.01


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPHOTOPRISMPHOTOPRISMINTERNALAPI-17817202
  • published4 Jul 2026
  • disclosed29 Jun 2026
  • creditUnknown

Introduced: 29 Jun 2026

CVE-2026-57945  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade github.com/photoprism/photoprism/internal/api to version 26.06.01 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the PUT /api/v1/users/{uid} endpoint. An attacker can alter another user's profile information by sending crafted requests to endpoints associated with arbitrary user identifiers due to insufficient validation of the relationship between the session and the targeted user.

CVSS Base Scores

version 4.0
version 3.1