CVE-2026-57943
MEDIUM Exploitation: PoC
5.9
CVSS 3.1
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.
Metadata
Severity & Metrics
5.9
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| LibrePhotos | librephotos | — | 0 < 1.0.0 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-639 | cna | Authorization Bypass Through User-Controlled Key |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.0 | MEDIUM | 4.0 | cna | 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 |
| 5.9 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N |
References (5)
- Release Notes https://github.com/LibrePhotos/librephotos/releases/tag/1.0.0
- Researcher Disclosure https://github.com/LibrePhotos/librephotos/issues/1860
- Pull Request https://github.com/LibrePhotos/librephotos/pull/1866
- Patch Commit https://github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb8106675a
- https://www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-setphotosshared-endpoint