What’s Vulnerable › Vulnerabilities
CVE-2026-57943: LibrePhotos < 1.0.0 - Insecure Direct Object Reference in SetPhotosShared Endpoint
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-29 · updated 2026-07-14
- Weakness: CWE-639
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.
Affected products
- librephotos: before 1.0.0 — fixed in 1.0.0
How to fix
Upgrade to a fixed version: librephotos 1.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb8106675a
- https://github.com/LibrePhotos/librephotos/issues/1860
- https://github.com/LibrePhotos/librephotos/pull/1866
- https://github.com/LibrePhotos/librephotos/releases/tag/1.0.0
- https://www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-setphotosshared-endpoint
- https://github.com/LibrePhotos/librephotos/issues/1860
Get alerted when CVE-2026-57943 or the next vulnerability affects your stack