CVE-2026-57943

medium

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.

References

https://www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-setphotosshared-endpoint

https://github.com/LibrePhotos/librephotos/releases/tag/1.0.0

https://github.com/LibrePhotos/librephotos/pull/1866

https://github.com/LibrePhotos/librephotos/issues/1860

https://github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb8106675a

Details

Source: Mitre, NVD

Published: 2026-06-29

Updated: 2026-06-29

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:S/C:C/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.9

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 6

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

Severity: Medium