CVE-2026-35048
Last modified
CVE-2026-35048 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
Description
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 attacker can inject arbitrary PHP code through POST parameters (prefix, dbpasswd, dbhost, dbname, or dbuser), which gets written to `local/config/database.inc.php` and executed on every page load.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Piwigo | Piwigo | <= 16.3.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-35048?
How severe is CVE-2026-35048?
How do I fix CVE-2026-35048?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-35042fast-jwt provides fast JSON Web Token (JWT) implementation. …7.5
- CVE-2026-35043BentoML is a Python library for building online serving syst…7.8
- CVE-2026-35044BentoML is a Python library for building online serving syst…9.6
- CVE-2026-35045Tandoor Recipes is an application for managing recipes, plan…8.1
- CVE-2026-35046Tandoor Recipes is an application for managing recipes, plan…5.4
- CVE-2026-35047Brave CMS is an open-source CMS. Prior to 2.0.6, an Unrestri…9.8
- CVE-2026-35049wire-ios is an iOS client for the Wire secure messaging appl…6.5
- CVE-2026-3505Allocation of resources without limits or throttling, Uncont…8.7
- CVE-2026-35050text-generation-webui is an open-source web interface for ru…8.8
- CVE-2026-35051Traefik is an HTTP reverse proxy and load balancer. Prior to…10
- CVE-2026-35052D-Tale is the combination of a Flask back-end and a React fr…9.8
- CVE-2026-35053OneUptime is an open-source monitoring and observability pla…9.8
Are you affected by CVE-2026-35048?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
