{"id":"CVE-2026-57859","summary":"e107 Second-Order Code Execution via eval()-Based Deserialization in e_array::unserialize()","details":"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().","aliases":["GHSA-568x-w5qj-vr7c"],"modified":"2026-08-15T04:07:04.981441426Z","published":"2026-07-30T13:41:34.196Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57859.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57859.json"},{"type":"ADVISORY","url":"https://github.com/e107inc/e107/security/advisories/GHSA-568x-w5qj-vr7c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57859"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/e107-second-order-code-execution-via-eval-based-deserialization-in-e-array-unserialize"},{"type":"FIX","url":"https://github.com/e107inc/e107/commit/40e73cefde85b32e1227dfac9956a5cb87046277"},{"type":"ARTICLE","url":"https://github.com/e107inc/e107"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/e107inc/e107","events":[{"introduced":"0"},{"fixed":"40e73cefde85b32e1227dfac9956a5cb87046277"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"2.3.7"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v2.3.7","v2.3.6","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.3.0-rc1","v2.2.1","v2.2.0","v2.1.9","v2.1.8","v2.1.7","v2.1.6","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.0-beta1","v2.0alpha"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57859.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}