# CVE-2026-108827: Zen Cart code injection in zen_call_function

Source: https://junglewise.ai/threats/cve-2026-108827-a-vulnerability-was-determined-in-zen-cart-up-to-2-2-2-affected  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-12. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-108827 · Severity: medium · CVSS 4.1 · Published 2026-10-12

Zen Cart, a popular open-source e-commerce platform, contains a code injection vulnerability in its administrative module management system. An attacker with access to the database (through the SQL Patch tool or other SQL injection) can inject arbitrary PHP function calls that execute with server privileges, leading to remote code execution and complete server compromise.

Technologies: [Zen Cart](https://junglewise.ai/threats/technologies/zen-cart). Vendors: [Zen Cart](https://junglewise.ai/threats/vendors/zen-cart).

## Quick answers

**Is CVE-2026-108827 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-108827 being exploited in the wild.

**How severe is CVE-2026-108827?** Medium severity, with a CVSS score of 4.1, published 12 October 2026.

**Which products and versions are affected?** Zen Cart up to 2.2.2.

**Is there a fix for CVE-2026-108827?** No fixed version is recorded yet. Restrict access to the SQL Patch tool to trusted administrators only, and ensure no other SQL injection vulnerabilities exist in the application that could allow database modification by unauthenticated users. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-108827 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-108827?** Check whether you run Zen Cart at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix


Restrict access to the SQL Patch tool to trusted administrators only, and ensure no other SQL injection vulnerabilities exist in the application that could allow database modification by unauthenticated users.

## Technical details

The vulnerability exists in the zen_call_function helper in admin/includes/functions/general.php, which unsafely calls arbitrary PHP functions via call_user_func() using values retrieved from the configuration database table. An attacker who can modify the database can set the use_function column to a dangerous function like system and configuration_value to a command, which is then executed when the module page is rendered. The attack requires pre-existing admin access or SQL injection capability.

## Affected products

- Zen Cart Zen Cart up to 2.2.2

## Timeline

- 2026-10-12: disclosed

## References

- [https://cdkkx.github.io/posts/GHSA-xrv3-wg8v-w8q8.html](https://cdkkx.github.io/posts/GHSA-xrv3-wg8v-w8q8.html)
- [https://vuldb.com/cve/CVE-2026-108827](https://vuldb.com/cve/CVE-2026-108827)

## Related threats

- [Zen Cart SQL injection in admin module configuration](https://junglewise.ai/threats/cve-2026-108829-a-security-flaw-has-been-discovered-in-zen-cart-up-to-2-2-2)
- [Zen Cart admin panel remote code execution via eval injection](https://junglewise.ai/threats/cve-2026-108828-a-vulnerability-was-identified-in-zen-cart-2-2-2-affected-by)
- [Zen Cart SQL injection in PayPal IPN handler](https://junglewise.ai/threats/cve-2026-108826-a-vulnerability-was-found-in-zen-cart-up-to-2-2-2-this-impacts)
