{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.3.7"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "40e73cefde85b32e1227dfac9956a5cb87046277"
            }
          ],
          "repo": "https://github.com/e107inc/e107",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-568x-w5qj-vr7c"
  ],
  "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"
  },
  "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().",
  "id": "CVE-2026-57859",
  "modified": "2026-08-15T04:07:04.981441426Z",
  "published": "2026-07-30T13:41:34.196Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "e107 Second-Order Code Execution via eval()-Based Deserialization in e_array::unserialize()"
}