# CVE-2026-57943: LibrePhotos < 1.0.0 - Insecure Direct Object Reference in SetPhotosShared Endpoint

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-29T17:17:32.739Z
- Modified: 2026-11-08T14:06:36.273Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- LibrePhotos librephotos: before 1.0.0

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/LibrePhotos/librephotos/issues/1860> (exploit, issue-tracking)
- <https://github.com/LibrePhotos/librephotos/releases/tag/1.0.0> (release-notes)
- <https://github.com/LibrePhotos/librephotos/pull/1866> (issue-tracking, patch)
- <https://github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb8106675a> (patch)
- <https://www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-setphotosshared-endpoint> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-57943](https://www.cve.org/CVERecord?id=CVE-2026-57943), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-57943](https://nvd.nist.gov/vuln/detail/CVE-2026-57943), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-57943 · Whole record: https://cve.day/CVE-2026-57943.json · Rebuilt by cve.day 2026-11-25T22:59:26.632Z
