Skip to main content

Piwigo EUVDEUVD-2026-87094

| CVE-2026-85750 HIGH
Improper Input Validation (CWE-20)
2026-09-25 GitHub_M
7.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with upload rights
  2. Delivery
    Upload SVG-disguised-as-PNG image
  3. Exploit
    Imagick parses embedded SVG/MSL
  4. Execution
    Read local files or write attacker files
  5. Impact
    Achieve code execution (config-dependent)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Requires (1) Piwigo configured to use the Imagick/ImageMagick library for image processing rather than the GD backend; (2) an authenticated account with image-upload permission (vendor rates PR:H/admin, but upload rights may be broader); and (3) for the arbitrary file read, only that Imagick renders SVG delegates on the crafted upload. Escalation to file write / RCE additionally requires a permissive ImageMagick policy.xml that allows MSL and SVG/coder delegates - often restricted or disabled in hardened installs, which is the primary limiting factor. No user interaction beyond the attacker's own upload is needed (UI:N).

Impact

The vendor CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H = 7.2) frames this as an authenticated, network-reachable flaw with full C/I/A impact. That impact profile is only partly reliable: the description confirms arbitrary file read via SVG/PNG format confusion (solidly C:H), but the file-write and remote-code-execution outcomes are explicitly qualified as occurring 'depending on configuration' and via ImageMagick's Magick Scripting Language (MSL) - a delegate path that modern ImageMagick installs frequently disable through policy.xml. So the I:H/A:H (and the RCE tag) represent a plausible worst case, not a guaranteed default outcome, and I:L/A:L is the more honest baseline for a default deployment. There is no EPSS score, no CISA KEV listing, and no public POC referenced, so exploitation is theoretical/analytical at this stage. Two signals warrant verification: (1) the vendor rates PR:H (implying admin), but image upload in Piwigo is often available to lower-privileged authenticated users, so real privilege requirement may be PR:L; (2) the whole attack is gated on Piwigo using the Imagick library (not the GD backend) - a configuration-dependent prerequisite that materially narrows the exposed population. Net: a genuine authenticated flaw worth patching, but not an unauthenticated internet-mass-exploitation priority.

Exploit ScenarioDerived

An authenticated Piwigo user with image-upload rights, on an instance configured to use the Imagick library, uploads a file that disguises SVG content as a PNG; when Imagick processes it, embedded SVG elements referencing local files cause server-side file disclosure (e.g., configuration or credential files). In an instance whose ImageMagick delegate/MSL policy is permissive, the attacker escalates to attacker-controlled MSL instructions to write files and achieve remote code execution. No public exploit code is referenced at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 25, 2026

Image upload handling in Piwigo before 16.4.0 permits authenticated attackers to read arbitrary files and, in permissive configurations, write server-side files or achieve remote code execution by abusing Imagick's processing of user-supplied images. Format confusion-such as disguising SVG content as PNG-can trick Imagick into interpreting embedded SVG elements that reference local files, while the Magick Scripting Language (MSL) may be abused for unauthorized file writes and code execution if ImageMagick's policy.xml allows MSL and SVG delegates. Exploitation requires Piwigo to use the Imagick backend (not GD) and an authenticated account with upload rights; vendor rates it 7.2 with PR:H and full C/I/A impact, whereas independent assessment lowers integrity/availability to L and stresses that hardened ImageMagick policies commonly block the RCE path. No public exploit identified at time of analysis, and version 16.4.0 provides the vendor-released patch.

RemediationAI

Upgrade Piwigo to version 16.4.0 or later, the vendor-released patch (see https://github.com/Piwigo/Piwigo/security/advisories/GHSA-j9q6-q52g-g8jw ). If immediate upgrading is not possible, switch Piwigo's image backend from Imagick to GD in the administration settings, which eliminates the vulnerable code path at the cost of some image-processing features (e.g., advanced format support, better quality thumbnails). Alternatively, harden ImageMagick by editing policy.xml to disable the MSL coder and the SVG, MSL, and URL coders for upload processing; this blocks the file-write and RCE escalation but does not prevent SVG-based file read unless all SVG delegate handling is disabled, which may break legitimate SVG uploads. Restrict image-upload permission to trusted roles only, since the attack requires an authenticated uploader, and monitor for unusual file reads by the web server user. Additional independent analysis is available at https://www.helx.io/en/blog/advisory-piwigo . Note that vendor CVSS rates impact as full C/I/A with PR:H, while independent assessment assesses C:H/I:L/A:L and PR:L, reflecting that hardened policy.xml configurations-the primary limiting factor-often reduce the practical impact.

Affected VersionsENISA

piwigo ≤ 16.3.0

Affected Packages

euvd piwigo no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw resides in Piwigo's image-upload processing pipeline when it delegates image handling to the Imagick PHP extension, which in turn invokes ImageMagick's decoders and delegates. CWE-20 (Improper Input Validation) is the root cause: Piwigo does not sufficiently validate the uploaded file's actual content against its declared type, so an attacker can supply a file that appears to be a PNG but contains SVG markup. ImageMagick's SVG delegate then processes the embedded SVG, which can include external entity references or file-reading directives (e.g., xlink:href to file:///etc/passwd), yielding arbitrary file read. More severely, if ImageMagick's policy.xml does not restrict the MSL coder, an attacker can submit MSL instructions that write files to the server and execute code. The CPE string cpe:2.3:a:piwigo:piwigo:*:*:*:*:*:*:*:* identifies all versions of Piwigo before the fixed 16.4.0 release as affected. The need for the Imagick backend (rather than GD) and a permissive ImageMagick policy are the key environmental preconditions that determine whether the vulnerability is limited to file read or escalates to RCE.

Know when Piwigo gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.6 HIGH

Authenticated upload rights (PR:L) and network reach; reliable arbitrary file read (C:H), but file-write/RCE are Imagick-MSL-config-dependent so I:L/A:L rather than H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Technical POC Analysis

CWE-20 (Improper Input Validation) in Piwigo's image upload handling.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Piwigo, an open-source image management platform, is affected by a high-severity vulnerability (CVE-2026-85750) that enables authenticated users with upload privileges to read arbitrary server files and, in permissive ImageMagick configurations, write files or execute remote code. Vendor-released patch: 16.4.0. No public exploit identified at time of analysis, but the potential for data exposure or server compromise means leadership should ensure all instances are patched and ImageMagick policies are hardened.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.2%
Top 33% exploitable
Prevalence
Low
self-hosted open-source photo gallery, modest niche deployment footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Piwigo

View all
CVE-2013-1469 MEDIUM POC
4.0 Mar 13

Directory traversal vulnerability in install.php in Piwigo before 2.4.7 allows remote attackers to read and delete arbit

CVE-2013-1468 HIGH POC
7.6 Mar 14

Cross-site request forgery (CSRF) vulnerability in the LocalFiles Editor plugin in Piwigo before 2.4.7 allows remote att

CVE-2017-10682 CRITICAL POC
9.8 Jun 29

SQL injection vulnerability in the administrative backend in Piwigo through 2.9.1 allows remote users to execute arbitra

CVE-2023-33362 CRITICAL POC
9.8 May 23

Piwigo 13.6.0 is vulnerable to SQL Injection via in the "profile" function. Rated critical severity (CVSS 9.8), this vul

CVE-2023-33361 CRITICAL POC
9.8 May 23

Piwigo 13.6.0 is vulnerable to SQL Injection via /admin/permalinks.php. Rated critical severity (CVSS 9.8), this vulnera

CVE-2021-32615 CRITICAL POC
9.8 May 13

Piwigo 11.4.0 allows admin/user_list_backend.php order[0][dir] SQL Injection. Rated critical severity (CVSS 9.8), this v

CVE-2019-13364 CRITICAL POC
9.6 Sep 13

admin.php?page=account_billing in Piwigo 2.9.5 has XSS via the vat_number, billing_name, company, or billing&#95

CVE-2019-13363 CRITICAL POC
9.6 Sep 13

admin.php?page=notification_by_mail in Piwigo 2.9.5 has XSS via the nbm_send_html_mail, nbm_send_mai

CVE-2017-10681 HIGH POC
8.8 Jun 29

Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica

CVE-2017-10680 HIGH POC
8.8 Jun 29

Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica

CVE-2017-10678 HIGH POC
8.8 Jun 29

Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica

CVE-2017-17774 HIGH POC
8.8 Dec 20

admin/configuration.php in Piwigo 2.9.2 has CSRF. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy