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

Published Jul 30, 2026
·
Updated

e107 prior to version 2.3.8 contains a code execution vulnerability in the earray 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 userprefs column. The earray::unserialize() function in e107handlers/corefunctions.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 euserpref::load().

Affected Software

1 affected component
e107 e107<2.3.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade e107 to a version that resolves this vulnerability.

    Fixed in 2.3.8
  2. Compensating control

    If you have out-of-band database write access concerns, restrict write access to the e107 database (e.g., limit who can modify the user_prefs column) so attacker-controlled payloads cannot be stored for second-order deserialization.

Event History

Jul 30, 2026
CVE Published
via MITRE·01:41 PM
Data Sourced
via MITRE·01:41 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-57859?

CVE-2026-57859 has a severity rating of high at 7.5.

2

How do I fix CVE-2026-57859?

To fix CVE-2026-57859, upgrade e107 to version 2.3.8 or later.

3

What type of vulnerability is CVE-2026-57859?

CVE-2026-57859 is a second-order code execution vulnerability due to flawed deserialization.

4

What impact does CVE-2026-57859 have?

CVE-2026-57859 allows an attacker with write access to execute arbitrary PHP code.

5

In which version of e107 is CVE-2026-57859 present?

CVE-2026-57859 is present in e107 versions prior to 2.3.8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203