Description
DokuWiki before 2026-07-14c contains a PHP object injection vulnerability in Draft::getDraftText() that passes draft file contents to unserialize() without restricting allowed classes. Authenticated users with edit rights can race concurrent draft rewrites to splice serialized data, instantiating gadgets like MemoryIndex or Installer for arbitrary file write, deletion, and code execution.
Published: 2026-10-20
Score: 7.7 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

An authenticated user with edit permissions can exploit a PHP object injection flaw in DokuWiki’s draft handling to inject arbitrary serialized objects through a race condition in Draft::getDraftText(). The vulnerability allows attackers to instantiate gadget classes such as MemoryIndex or Installer, enabling arbitrary file manipulation, deletion, and execution of code on the server. The flaw originates from passing user provided draft content directly to unserialize() without restricting allowed classes.

Affected Systems

DokuWiki versions released before 2026‑07‑14c are affected by this flaw. Any deployment of DokuWiki running an earlier release, regardless of the installed plugins or custom code, is vulnerable when users possess edit rights. No specific patch level beyond the 2026‑07‑14c release is available to mitigate this risk.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity. Although EPSS data is not available, the lack of a KEV listing does not diminish the potential impact for compromised or poorly protected installations. The likely attack vector requires an authenticated DokuWiki user who can edit pages; the attacker must be able to trigger two concurrent draft rewrites to splice malicious serialized data. Successful exploitation would give the attacker full control over file storage and potentially allow arbitrary code execution on the web server.

Generated by OpenCVE AI on October 20, 2026 at 14:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade DokuWiki to release 2026‑07‑14c or a later version that includes the vulnerability fix.
  • Restrict edit permissions to trusted users only, ensuring that only individuals with legitimate content editing responsibilities can create or modify drafts.
  • Place the DokuWiki installation behind a firewall or in a segmented network zone so that access to the draft editing API is limited to authorized internal hosts.

Generated by OpenCVE AI on October 20, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description DokuWiki before 2026-07-14c contains a PHP object injection vulnerability in Draft::getDraftText() that passes draft file contents to unserialize() without restricting allowed classes. Authenticated users with edit rights can race concurrent draft rewrites to splice serialized data, instantiating gadgets like MemoryIndex or Installer for arbitrary file write, deletion, and code execution.
Title DokuWiki before 2026-07-14c PHP Object Injection via Draft Race Condition
First Time appeared Dokuwiki
Dokuwiki dokuwiki
Weaknesses CWE-502
CPEs cpe:2.3:a:dokuwiki:dokuwiki:*:*:*:*:*:*:*:*
Vendors & Products Dokuwiki
Dokuwiki dokuwiki
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Dokuwiki Dokuwiki
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T10:41:40.897Z

Reserved: 2026-10-20T01:07:47.423Z

Link: CVE-2026-113356

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-20T11:17:20.143

Modified: 2026-10-20T11:17:20.143

Link: CVE-2026-113356

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T15:00:19Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data