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

Medium 6.0 Published Updated

Authenticated users can bypass ownership checks to access other users' private photos in LibrePhotos.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-57943?

CVE-2026-57943 is a medium-severity missing authorization vulnerability in librephotos, published on 29 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-639

Which versions are affected by CVE-2026-57943?

How do I fix CVE-2026-57943?

No fix has been published for CVE-2026-57943 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-57943 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57943 exists.

Sources

Also known as GHSA-6649-8h33-mv2c.

Is CVE-2026-57943 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free