Piwigo arbitrary file read and remote code execution via insecure image processing
Piwigo before v16.4.0 is vulnerable to arbitrary file read and remote code execution in image upload handling when using the Imagick library due to insufficient validation and unsafe processing of user-supplied image files. By abusing format confusion (e.g., disguising SVG content as PNG), an attacker can trigger unintended interpretation of embedded SVG elements that reference local files. In more advanced scenarios, the Imagick support for Magick Scripting Language (MSL) may be abused to process attacker-controlled instructions, potentially leading to unauthorized server-side file writes and remote code execution, depending on configuration. This has been patched in 16.4.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-85750
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 09:55 UTC · Revision 1
Source evidence
Piwigo arbitrary file read and remote code execution via insecure image processing
core-osv · Original sourcePublished 25 Sept 2026, 13:51 UTC
Piwigo before v16.4.0 is vulnerable to arbitrary file read and remote code execution in image upload handling when using the Imagick library due to insufficient validation and unsafe processing of user-supplied image files. By abusing format confusion (e.g., disguising SVG content as PNG), an attacker can trigger unintended interpretation of embedded SVG elements that reference local files. In more advanced scenarios, the Imagick support for Magick Scripting Language (MSL) may be abused to process attacker-controlled instructions, potentially leading to unauthorized server-side file writes and remote code execution, depending on configuration. This has been patched in 16.4.0.
osv:CVE-2026-85750
Complete source record
{
"id": "a1fc0eabb3b77a1cc9837f772ffdd28544abd5ed1a30ac2a4c64df19d762e40e",
"url": "https://osv.dev/vulnerability/CVE-2026-85750",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Piwigo arbitrary file read and remote code execution via insecure image processing",
"summary": "Piwigo before v16.4.0 is vulnerable to arbitrary file read and remote code execution in image upload handling when using the Imagick library due to insufficient validation and unsafe processing of user-supplied image files. By abusing format confusion (e.g., disguising SVG content as PNG), an attacker can trigger unintended interpretation of embedded SVG elements that reference local files. In more advanced scenarios, the Imagick support for Magick Scripting Language (MSL) may be abused to process attacker-controlled instructions, potentially leading to unauthorized server-side file writes and remote code execution, depending on configuration. This has been patched in 16.4.0.",
"evidence": "osv:CVE-2026-85750",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-85750",
"aliases": [
"CVE-2026-85750",
"GHSA-j9q6-q52g-g8jw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/piwigo/piwigo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bef1a4ac424b4e986589e4cfc9f4d134f1b16f15"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "16.3.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "16.4.0"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"16.3.0",
"16.2.0",
"16.1.0",
"16.0.0",
"16.0.0RC3",
"16.0.0RC2",
"16.0.0RC1",
"16.0.0beta2",
"16.0.0beta1",
"15.0.0beta3",
"15.0.0beta2",
"15.0.0beta1",
"14.0.0RC2",
"14.0.0RC1",
"14.0.0beta3",
"14.0.0beta2",
"14.0.0beta1",
"13.0.0RC4",
"13.0.0RC3",
"13.0.0RC2",
"13.0.0RC1",
"13.0.0beta2",
"13.0.0beta1",
"12.0.0RC2",
"12.0.0RC1",
"12.0.0beta2",
"12.0.0beta1",
"2.11.0beta4",
"2.11.0beta3",
"2.11.0beta2",
"2.11.0beta1",
"2.10.0RC1",
"2.10.0beta2",
"2.10.0beta1",
"2.9.0RC2",
"2.9.0RC1",
"2.9.0beta2",
"2.9.0beta1",
"2.8.0RC2",
"2.8.0RC1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85750.json"
}
}
],
"modified": "2026-10-28T02:30:50.414126136Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85750.json",
"https://github.com/Piwigo/Piwigo/security/advisories/GHSA-j9q6-q52g-g8jw",
"https://nvd.nist.gov/vuln/detail/CVE-2026-85750",
"https://www.helx.io/en/blog/advisory-piwigo"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85750.json"
}
},
"related_cves": [
{
"value": "CVE-2026-85750",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 518932,
"published_at": "2026-09-25T13:51:07.771+00:00"
}