Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-52778 – Remote Code Execution / DoS via Unsafe eval() – YesWiki prior to 4.6.6

Be the first to know when new zero-days emerge:

Summary

CVE-2026-52778 is a critical unsafe code execution vulnerability in YesWiki, a PHP-based wiki system, affecting all versions prior to 4.6.6. The flaw resides in the Bazar form field calculator (CalcField.php), where user-supplied mathematical formula input is sanitized through a flawed recursive regular expression before being passed directly to PHP’s eval() function. With a CVSS v3.1 score of 9.8 (Critical), this vulnerability is remotely exploitable with no authentication and no user interaction required, and can result in arbitrary remote code execution (RCE) or denial of service (DoS) on the host server.

Technical details

  • Root cause: The formatValuesBeforeSave() method in tools/bazar/fields/CalcField.php validates user-defined formulas using a recursive regular expression pattern containing (?1)+ constructs before executing the formula via eval("$value = $formula;"). This architecture is inherently unsafe regardless of the regex’s correctness.
  • Attack vector 1 – ReDoS / Stack Overflow (DoS): The recursive regex pattern consumes excessive stack memory when processing deeply nested parenthetical input. A crafted payload with thousands of nested parentheses can trigger a PHP stack overflow, crashing the server process.
  • Attack vector 2 – Remote Code Execution (RCE): Any successful bypass of the regex sanitization results in direct execution of arbitrary PHP code by the eval() call, with the privileges of the web server process.
  • Attack vector: Network (AV:N) — exploitable over HTTP/HTTPS with no credentials (PR:N) and no victim interaction (UI:N).
  • Impact: Full compromise of confidentiality, integrity, and availability of the affected host (C:H/I:H/A:H).
  • CWEs: CWE-94 (Improper Control of Generation of Code / Code Injection); CWE-1333 (Inefficient Regular Expression Complexity).

Affected software

  • YesWiki all versions prior to 4.6.6 (Doryphore release)

Severity

  • CVSS v3.1 Base Score: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: Upgrade YesWiki to version 4.6.6 or later. This release, published on June 2, 2026, patches CVE-2026-52778 along with 12 additional security vulnerabilities, including SQL injection, XSS, SSRF, and authentication bypass issues.
  • If patching is not immediately possible: Restrict network access to YesWiki instances so that only trusted users can submit Bazar form entries. Consider temporarily disabling the Bazar calculator field feature at the application level until patching can be completed.

IONIX Status

The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge