PHP object injection in DokuWiki draft handling allows code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-502.
Summary
DokuWiki before 2026-07-14c passes draft file contents to unserialize() in Draft::getDraftText() without restricting allowed classes, a deserialization flaw (CWE-502). An authenticated user with edit rights can race concurrent draft rewrites to splice serialized data, instantiating gadget classes such as MemoryIndex or Installer to write or delete arbitrary files and execute code. A public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update DokuWiki to 2026-07-14c, the fixed version.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA DokuWiki (DokuWiki) Fixed in 2026-07-14c
Vendor assessments
Timeline
- 2026-10-20 Threatist record created from CVE-2026-113356
- 2026-10-20 Alias added: GHSA-9xhj-2fcr-x9j8
- 2026-10-20 CISA SSVC decision points changed
- 2026-10-20 Priority changed: MEDIUM → HIGH
- 2026-10-21 Affected versions changed · Red Hat
- 2026-10-21 CVSS score added · Red Hat
References
More DokuWiki vulnerabilities
- TI-2026-21339 Resource allocation without limits in DokuWiki CVSS 3.1HIGH 7.5
- TI-2019-15392 Dokuwiki 2018-04-22b - Username Enumeration CVSS 4.0MEDIUM 6.9
- TI-2009-01868 inc/init.php in DokuWiki 2009-02-14, rc2009-02-06, and rc2009-01-30, when… CVSS 2.0HIGH 9.3
- TI-2023-17236 DokuWiki before 2023-04-04a allows XSS via RSS titles. CVSS 3.1MEDIUM 5.4
- TI-2018-11034 CSV Injection (aka Excel Macro Injection or Formula Injection) in… CVSS 3.0CRITICAL 9.6
- TI-2010-00275 A typo in the administrator permission check in the ACL Manager plugin… CVSS 2.0HIGH 7.5
Sources
- CVE-2026-113356 · CVE Program
- CVE-2026-113356 · NVD
- FIRST EPSS
- GHSA-9xhj-2fcr-x9j8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-113356 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences