CVE-2026-57859
JSON

7.7high

e107 Second-Order Code Execution via eval()-Based Deserialization in e_array::unserialize()

Severity
7.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.51% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

e107 prior to version 2.3.8 contains a code execution vulnerability in the e_array deserialization handler that allows an attacker with out-of-band database write access to execute arbitrary PHP code by storing a crafted payload in the user_prefs column. The e_array::unserialize() function in e107_handlers/core_functions.php performs only a prefix check for the string 'array' before passing the stored value to eval(), causing automatic PHP execution whenever the affected user's preferences are materialized through e_user_pref::load().

Affected

Product or packageVersionsReported by
e107inc e107up to 2.3.7
Not affected: 2.3.8
CVE List

All scores

VulnCheck7.7high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-502

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

e107 prior to version 2.3.8 contains a code execution vulnerability in the e_array deserialization handler that allows an attacker with out-of-band database write access to execute arbitrary PHP code by storing a crafted payload in the user_prefs column. The e_array::unserialize() function in e107_handlers/core_functions.php performs only a prefix check for the string 'array' before passing the stored value to eval(), causing automatic PHP execution whenever the affected user's preferences are materialized through e_user_pref::load().

NVD (es)

e107 anterior a la versión 2.3.8 contiene una vulnerabilidad de ejecución de código en el gestor de deserialización e_array que permite a un atacante con acceso de escritura a la base de datos fuera de banda ejecutar código PHP arbitrario almacenando una carga útil diseñada en la columna user_prefs. La función e_array::unserialize() en e107_handlers/core_functions.php realiza solo una comprobación de prefijo para la cadena ’array’ antes de pasar el valor almacenado a eval(), causando la ejecución automática de PHP cada vez que las preferencias del usuario afectado se materializan a través de e_user_pref::load().

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57859 changed 2026-08-14CVE Terms of Use
NVDCVE-2026-57859 changed 2026-10-23Public domain