Auth bypass in Librephotos
CVE-2026-57943
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (25.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 25.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Librephotos — versions 0
Weakness classification (CWE)
References
- github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb81066… (patch)
- github.com/LibrePhotos/librephotos/issues/1860 (issue-tracking, technical-description)
- github.com/LibrePhotos/librephotos/pull/1866 (issue-tracking)
- github.com/LibrePhotos/librephotos/releases/tag/1.0.0 (release-notes)
- www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-se… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-57943?
- CVE-2026-57943 is a medium-severity vulnerability in Librephotos, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 5.9/10. Published 2026-06-29.
- How severe is CVE-2026-57943?
- Medium severity. CVSS v3 base score is 5.9 out of 10.