CVE-2026-35048

CRITICALPre-NVD 9.89.8
EchelonGraph scoreMEDIUM confidence

This critical-severity CVE scores 9.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.6%, top 55% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: epss, secondary
Elevated
9.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1%CVSS: 9.8Exploit: Elevated riskExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

CVSS v3
9.8
EG Score
9.8(medium)
EG Risk
75(Attend)
EG Risk 75/100SSVC: Attend

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity98% × 45%
Exploitation40% × 40%
Automatability100% × 15%
Action: Remediate soon — notable exploitation risk.
EPSS PROB
1%
EPSS %ILE
45%
KEV
Not listed

Published

July 20, 2026

Last Modified

July 21, 2026

Advisory Details (1)

Auto-updated Aug 26, 2026
Patch available. Sources: github.
github Patch Available

RCE via PHP Code Injection into Config File in Installer · Advisory · Piwigo/Piwigo · GitHub

https://github.com/Piwigo/Piwigo/security/advisories/GHSA-gphq-34pv-gvf3

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 11× in last 7d / 55× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-08-30 02:36 UTCEG score recompute
  2. 2026-08-30 01:22 UTCEPSS rescore
  3. 2026-08-28 21:41 UTCEPSS rescore
  4. 2026-08-27 21:20 UTCEG score recompute
  5. 2026-08-27 14:25 UTCEPSS rescore
  6. 2026-08-26 22:09 UTCEG score recompute
  7. 2026-08-26 14:46 UTCEPSS rescore
  8. 2026-08-25 14:40 UTCEG score recompute
  9. 2026-08-25 13:49 UTCEPSS rescore
  10. 2026-08-24 15:29 UTCEG score recompute
  11. 2026-08-24 11:38 UTCEG score recompute
  12. 2026-08-23 00:48 UTCEG score recompute
  13. 2026-08-23 00:19 UTCEPSS rescore
  14. 2026-08-22 01:35 UTCEG score recompute
  15. 2026-08-21 23:49 UTCEPSS rescore
  16. 2026-08-21 02:12 UTCEG score recompute
  17. 2026-08-20 22:55 UTCEPSS rescore
  18. 2026-08-19 22:50 UTCEG score recompute
  19. 2026-08-19 17:03 UTCEPSS rescore
  20. 2026-08-18 19:36 UTCEG score recompute
  21. 2026-08-18 13:48 UTCEPSS rescore
  22. 2026-08-17 17:33 UTCEG score recompute
  23. 2026-08-17 13:47 UTCEPSS rescore
  24. 2026-08-16 18:03 UTCEG score recompute
  25. 2026-08-16 14:56 UTCEPSS rescore
Show 55 more
  1. 2026-08-16 02:36 UTCEG score recompute
  2. 2026-08-16 02:14 UTCEPSS rescore
  3. 2026-08-15 02:50 UTCEG score recompute
  4. 2026-08-15 01:30 UTCEPSS rescore
  5. 2026-08-13 23:50 UTCEG score recompute
  6. 2026-08-13 22:00 UTCEPSS rescore
  7. 2026-08-12 16:57 UTCEG score recompute
  8. 2026-08-12 13:50 UTCEPSS rescore
  9. 2026-08-11 13:45 UTCEG score recompute
  10. 2026-08-11 02:10 UTCEG score recompute
  11. 2026-08-11 00:00 UTCEPSS rescore
  12. 2026-08-09 15:25 UTCEG score recompute
  13. 2026-08-09 13:46 UTCEPSS rescore
  14. 2026-08-08 20:07 UTCEG score recompute
  15. 2026-08-08 16:37 UTCEPSS rescore
  16. 2026-08-07 17:05 UTCEG score recompute
  17. 2026-08-06 14:02 UTCEG score recompute
  18. 2026-08-06 13:46 UTCEPSS rescore
  19. 2026-08-05 22:36 UTCEG score recompute
  20. 2026-08-05 19:17 UTCEPSS rescore
  21. 2026-08-04 16:43 UTCEG score recompute
  22. 2026-08-04 15:10 UTCEPSS rescore
  23. 2026-08-04 12:52 UTCEG score recompute
  24. 2026-08-04 10:38 UTCEPSS rescore
  25. 2026-08-03 11:55 UTCEG score recompute
  26. 2026-08-03 10:36 UTCEPSS rescore
  27. 2026-08-02 04:03 UTCEG score recompute
  28. 2026-08-02 02:27 UTCEPSS rescore
  29. 2026-08-01 04:50 UTCEG score recompute
  30. 2026-08-01 04:16 UTCEPSS rescore
  31. 2026-07-30 17:52 UTCEG score recompute
  32. 2026-07-30 16:28 UTCEPSS rescore
  33. 2026-07-30 10:07 UTCEG score recompute
  34. 2026-07-30 02:24 UTCEG score recompute
  35. 2026-07-30 01:30 UTCEPSS rescore
  36. 2026-07-28 19:02 UTCEG score recompute
  37. 2026-07-27 15:13 UTCEG score recompute
  38. 2026-07-27 14:13 UTCEPSS rescore
  39. 2026-07-26 18:35 UTCEG score recompute
  40. 2026-07-26 14:54 UTCEPSS rescore
  41. 2026-07-26 14:54 UTCEPSS rescore
  42. 2026-07-26 10:47 UTCEG score recompute
  43. 2026-07-25 14:18 UTCEPSS rescore
  44. 2026-07-25 14:18 UTCEPSS rescore
  45. 2026-07-24 14:17 UTCEPSS rescore
  46. 2026-07-24 14:17 UTCEPSS rescore
  47. 2026-07-23 14:18 UTCEPSS rescore
  48. 2026-07-23 14:18 UTCEPSS rescore
  49. 2026-07-23 03:10 UTCEG score recompute
  50. 2026-07-22 23:36 UTCEG score recompute
  51. 2026-07-22 14:08 UTCEPSS rescore
  52. 2026-07-21 15:24 UTCEPSS rescore
  53. 2026-07-20 18:41 UTCEG score recompute
  54. 2026-07-20 16:38 UTCEG score recompute
  55. 2026-07-20 16:37 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-35048?
CVE-2026-35048 is a critical vulnerability published on July 20, 2026. 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 getmagicquotes_gpc(), a function…
When was CVE-2026-35048 disclosed?
CVE-2026-35048 was first published in the National Vulnerability Database on July 20, 2026, with the most recent update on July 21, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-35048 actively exploited?
CVE-2026-35048 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1% probability of exploitation in the next 30 days, which ranks it in the top 55.0% of all scored CVEs.
What is the CVSS score of CVE-2026-35048?
CVE-2026-35048 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2026-35048?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-35048, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-35048

Explore →

Is Your Infrastructure Affected by CVE-2026-35048?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.