CVE-2026-35048: Vulnerability in Piwigo

Critical. The Piwigo installer in versions 16.3.0 and earlier accepts POST parameters for database configuration and writes them directly into a PHP configuration file without proper sanitization. On PHP 8+, the addslashes() protection is bypassed because it checks for get_magic_quotes_gpc(), a function removed in PHP 8.0. This allows raw user input to be interpolated directly into PHP source code. An unauthenticated...

CWE-20

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
0.3 % in 30 days
Fix
None recorded
Patch deadline
No deadline set

Details

EU ID
EUVD-2026-46006
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20
Published
20 Jul 2026
Last change
21 Jul 2026
Likelihood rank
Higher than 27 % of all rated vulnerabilities
Analysis status
Deferred

Affected products

Affected versions and the first fixed release

  • Piwigo Version <= 16.3.0. No fixed version recorded

Advisories

Vendor and security advisories

Related