| tiêu đề | LibrePhotos librephotos 1.2.1 Code execution (argument injection) |
|---|
| Mô tả | LibrePhotos 1.2.1 is vulnerable to argument injection in the metadata write-back path: write_metadata (apps/backend/api/metadata/writer.py:27-36) builds ExifTool command-line arguments via string interpolation and hands them to PyExifTool 0.4.9 stay-open process, so any newline inside a face-annotation name (Person.name, fully controlled by any authenticated user) splits into separate command-line options, letting an attacker inject arbitrary ExifTool arguments (-if with Perl condition) and execute arbitrary commands as the backend process, which runs as root in official deployments. Verified in a real environment with a canary file created by the injected Perl.
As demanded by the project, a repository security advisory has been filed: https://github.com/LibrePhotos/librephotos/security/advisories/GHSA-8mp5-4hjr-x3gw (screenshot of the filed advisory available on request). |
|---|
| Nguồn | ⚠️ https://github.com/LibrePhotos/librephotos/security/advisories/GHSA-8mp5-4hjr-x3gw |
|---|
| Người dùng | chenhuanlin (UID 100424) |
|---|
| Đệ trình | 27/10/2026 03:22 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 25/11/2026 08:01 (29 days later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 443654 [LibrePhotos đến 1.2.1 ExifTool Metadata Write-Back writer.py write_metadata person_name nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|