CVE-2026-57943
Received Received - Intake

Broken Object Level Authorization in LibrePhotos

Vulnerability report for CVE-2026-57943, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-29

Last updated on: 2026-06-29

Assigner: VulnCheck

Description

LibrePhotos before 1.0.0 contains a broken object level authorization vulnerability in the SetPhotosShared endpoint that allows authenticated users to grant themselves access to other users' private photos by bypassing ownership validation. Attackers can manipulate shared_to relations without proper owner checks to read arbitrary private photos belonging to other users.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-29
Last Modified
2026-06-29
Generated
2026-06-29
AI Q&A
2026-06-29
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
librephotos librephotos to 1.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-57943 is an Insecure Direct Object Reference (IDOR) vulnerability in LibrePhotos versions before 1.0.0, specifically in the SetPhotosShared endpoint.

This vulnerability allows authenticated users to bypass ownership validation and grant themselves access to other users' private photos by manipulating the shared_to relations.

The root cause is a missing ownership check when resolving photos by image hash, which lets attackers add themselves to the shared_to list of photos they do not own, thereby gaining unauthorized read access to private photos including originals and thumbnails.

The flaw also affects the unshare functionality, allowing users to remove legitimate shares improperly.

The vulnerability was confirmed with a proof-of-concept and is classified under CWE-639 (Authorization Bypass Through User-Controlled Key).

Compliance Impact

CVE-2026-57943 allows authenticated users to bypass ownership validation and access private photos of other users without authorization. This unauthorized disclosure of private data can lead to violations of data protection regulations such as GDPR and HIPAA, which require strict controls over personal and sensitive information.

Specifically, the vulnerability exposes private photos, which may be considered personal data under GDPR or protected health information under HIPAA if applicable. The failure to enforce proper authorization controls undermines confidentiality requirements and could result in non-compliance with these standards.

Therefore, organizations using vulnerable versions of LibrePhotos may face compliance risks due to potential unauthorized access and disclosure of private user data.

Impact Analysis

This vulnerability can lead to unauthorized disclosure of private photos belonging to other users.

An attacker who is authenticated can manipulate sharing relations to gain read access to arbitrary private photos without proper authorization.

The confidentiality of private photos is at high risk, as attackers can view sensitive images they should not have access to.

There is also a low risk to integrity because attackers can tamper with the share state by sharing or unsharing photos improperly.

Detection Guidance

This vulnerability involves an Insecure Direct Object Reference (IDOR) in the SetPhotosShared endpoint of LibrePhotos before version 1.0.0, allowing authenticated users to bypass ownership validation and access other users' private photos.

Detection can focus on monitoring or testing the SetPhotosShared endpoint for unauthorized manipulation of the shared_to relations. Specifically, one could attempt to use authenticated API requests to share photos not owned by the user and observe if the system improperly grants access.

Since the vulnerability is related to API endpoint misuse, commands or scripts that simulate authenticated requests to the SetPhotosShared endpoint with photo identifiers not owned by the user could help detect the issue.

  • Use curl or similar tools to send authenticated POST requests to the SetPhotosShared endpoint with photo hashes belonging to other users and check if the response allows sharing.
  • Monitor logs for unusual sharing activity where users share photos they do not own.
  • Review API access logs for suspicious patterns of shared_to relation modifications.
Mitigation Strategies

The primary mitigation is to upgrade LibrePhotos to version 1.0.0 or later, where the vulnerability has been patched by adding ownership validation checks in the SetPhotosShared endpoint.

Until the upgrade can be performed, restrict access to the SetPhotosShared endpoint to trusted users only, and monitor for suspicious sharing activity.

Additionally, review and audit user permissions and sharing settings to detect and revert any unauthorized shares.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-57943. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart