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.
References6
- gist.github.com/sebastianosrt/a0c0252ca335e8e8b2c96fecf1f64538
- github.com/dokuwiki/dokuwiki/blob/b61db59a8091fc992ac02959a9a09…
- github.com/dokuwiki/dokuwiki/commit/1531802afb2ac3eea147a887600…
- github.com/dokuwiki/dokuwiki/issues/4752
- github.com/dokuwiki/dokuwiki/releases/tag/release-2026-07-14c
- www.vulncheck.com/advisories/dokuwiki-before-2026-07-14c-php-ob…
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 4.0
-
7.7
HIGH
Score source: CNA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 1% percentile: 46 · as of 9 November 2026
- CWE
- CWE-502
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.