---
id: CVE-2026-57943
title: >-
  LibrePhotos < 1.0.0 - Insecure Direct Object Reference in SetPhotosShared
  Endpoint
summary: >-
  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 validati…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-639
vendor: LibrePhotos
product: librephotos
affected:
  - librephotos < 1.0.0
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-29T19:25:24.388007Z'
exploitAvailable: true
published: '2026-06-29'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T14:06:36.273Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-57943'
references:
  - url: 'https://github.com/LibrePhotos/librephotos/releases/tag/1.0.0'
    label: librephotos 1.0.0 Release Notes
  - url: 'https://github.com/LibrePhotos/librephotos/issues/1860'
    label: Researcher Disclosure
  - url: 'https://github.com/LibrePhotos/librephotos/pull/1866'
    label: Pull Request
  - url: >-
      https://github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb8106675a
    label: Patch Commit
  - url: >-
      https://www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-setphotosshared-endpoint
tags:
  - cve.org
  - exploit-available
epss: 0.00339
epssPercentile: 0.27493
ingestedAt: '2026-11-08T14:51:22.323Z'
---

## Overview

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.

## Affected

- `librephotos < 1.0.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
