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.
Severity (CVSS)
| Base score | 6 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-639 — Authorization Bypass Through User-Controlled Key
Affected products
| Vendor | Product | Versions |
|---|---|---|
| LibrePhotos | librephotos | 0 to <1.0.0 |
References
- https://github.com/LibrePhotos/librephotos/releases/tag/1.0.0 (release-notes)
- https://github.com/LibrePhotos/librephotos/issues/1860 (technical-description)
- https://github.com/LibrePhotos/librephotos/pull/1866 (issue-tracking)
- https://github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb8106675a (patch)
- https://www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-setphotosshared-endpoint (third-party-advisory)
Generated from the official CVE List on 30 Jun 2026 07:04 UTC.