{"id":"CVE-2026-57943","state":"PUBLISHED","title":"LibrePhotos < 1.0.0 - Insecure Direct Object Reference in SetPhotosShared Endpoint","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.","publishedAt":"2026-06-29T17:17:32.739Z","updatedAt":"2026-07-14T21:34:36.636Z","severity":{"score":6,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["LibrePhotos librephotos"],"affected":[{"vendor":"LibrePhotos","product":"librephotos","packageURL":"pkg:github/LibrePhotos/librephotos","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"repo":"https://github.com/LibrePhotos/librephotos"}],"references":["https://github.com/LibrePhotos/librephotos/releases/tag/1.0.0","https://github.com/LibrePhotos/librephotos/issues/1860","https://github.com/LibrePhotos/librephotos/pull/1866","https://github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb8106675a","https://www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-setphotosshared-endpoint"],"weaknesses":["CWE-639"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57943.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57943","state":"PUBLISHED","datePublished":"2026-06-29T17:17:32.739Z","dateUpdated":"2026-07-14T21:34:36.636Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-26T13:57:16.355Z"},"containers":{"cna":{"title":"LibrePhotos < 1.0.0 - Insecure Direct Object Reference in SetPhotosShared Endpoint","descriptions":[{"lang":"en","value":"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":[{"vendor":"LibrePhotos","product":"librephotos","packageURL":"pkg:github/LibrePhotos/librephotos","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.0.0","versionType":"semver"}],"repo":"https://github.com/LibrePhotos/librephotos"}],"references":[{"url":"https://github.com/LibrePhotos/librephotos/releases/tag/1.0.0","name":"Release Notes","tags":["release-notes"]},{"url":"https://github.com/LibrePhotos/librephotos/issues/1860","name":"Researcher Disclosure","tags":["issue-tracking"]},{"url":"https://github.com/LibrePhotos/librephotos/pull/1866","name":"Pull Request","tags":["issue-tracking"]},{"url":"https://github.com/LibrePhotos/librephotos/commit/325bd1f5fda71c6d56737aa09cfce0cb8106675a","name":"Patch Commit","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/librephotos-insecure-direct-object-reference-in-setphotosshared-endpoint","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"NONE","version":"3.1","baseSeverity":"MEDIUM","baseScore":5.9,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-14T21:34:36.636Z"},"datePublic":"2026-06-13T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:librephotos_project:librephotos:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.0"}]}]}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck"},"tags":["x_open-source"]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/LibrePhotos/librephotos/issues/1860","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-29T19:25:24.388007Z","id":"CVE-2026-57943","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-29T19:25:52.974Z"}}]}}}