CVE-2026-136697: LibrePhotos ExifTool Metadata Write-Back writer.py write_metadata argument injection
A flaw has been found in LibrePhotos up to 1.2.1. Affected by this issue is the function writemetadata of the file apps/backend/api/metadata/writer.py of the component ExifTool Metadata Write-Back. This manipulation of the argument personname causes argument injection. The attack may be initiated remotely. Upgrading to version 1.3.0 can resolve this issue. Patch name: f83dafca9f1a6dd0441b7e4d5c13992896a7d76f. Upgrading the affected component is advised.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
LibrePhotosto a version that resolves this vulnerability.Fixed in 1.3.0Patch f83dafca9f1a6dd0441b7e4d5c13992896a7d76f
Event History
Frequently Asked Questions
Who can exploit this issue?
A remote attacker needs privileges to manipulate the person_name value used by the ExifTool metadata write-back functionality. No user interaction is required.
Which deployments are affected?
LibrePhotos versions up to and including 1.2.1 are affected. The provided data does not state whether the vulnerable metadata write-back path is enabled or reachable in a default deployment.
What is the remediation?
Upgrade LibrePhotos to version 1.3.0. The fix is identified as patch f83dafca9f1a6dd0441b7e4d5c13992896a7d76f.