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

- Severity: High 7.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-30T13:41:34.196Z
- Modified: 2026-10-23T22:10:00.160Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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().

(As written by CVE List.)

## Affected

- e107inc e107: up to 2.3.7 (not affected: 2.3.8)

## Every score

- VulnCheck: CVSS:4.0 7.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/e107inc/e107/security/advisories/GHSA-568x-w5qj-vr7c> (exploit, vendor-advisory)
- <https://github.com/e107inc/e107/commit/40e73cefde85b32e1227dfac9956a5cb87046277> (patch)
- <https://github.com/e107inc/e107> (technical-description)
- <https://www.vulncheck.com/advisories/e107-second-order-code-execution-via-eval-based-deserialization-in-e-array-unserialize> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-57859](https://www.cve.org/CVERecord?id=CVE-2026-57859), CVE Terms of Use, modified 2026-08-14
- NVD: [CVE-2026-57859](https://nvd.nist.gov/vuln/detail/CVE-2026-57859), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-57859 · Whole record: https://cve.day/CVE-2026-57859.json · Rebuilt by cve.day 2026-11-25T22:59:30.627Z
