Skip to main content

DokuWiki EUVDEUVD-2026-40863

| CVE-2026-37106 CRITICAL
Weak Password Recovery Mechanism for Forgotten Password (CWE-640)
2026-06-30 cve@mitre.org GHSA-4856-qxx9-mgf3
Critical
Disputed · 9.8 Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate internet-facing DokuWiki with open registration
  2. Delivery
    Send crafted request to register function
  3. Exploit
    Abuse weak recovery/registration logic in inc/auth.php
  4. Execution
    Obtain privileged account access
  5. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Password recovery security
Exploitation Conditions

Exploitation targets DokuWiki instances that expose the user self-registration feature (the 'register' action) reachable over the network; per CVSS AV:N/AC:L/PR:N/UI:N the attack is remote with low complexity, no authentication, and no user interaction against affected 2025-05-14b 'Librarian' 56.2 builds. The concrete prerequisite is that registration is enabled and reachable - instances that disable the 'register' action (via $conf['disableactions']) or place the wiki entirely behind external authentication remove the vulnerable entry point. Limiting factors: the affected version range is unconfirmed (EUVD 'n/a n/a'), the CWE-640 mapping conflicts with the RCE claim so the real impact may require an additional step (e.g., account takeover before code execution), and no active exploitation has been observed (low EPSS, not in KEV) - so realistic risk concentrates on exposed instances with open registration.

Impact

The signals conflict and should be weighed carefully. CVSS 3.1 rates this 9.8 Critical (AV:N/AC:L/PR:N/UI:N, total C/I/A impact) and SSVC flags Automatable:yes with Technical Impact:total, which on paper argues for high priority. However, EPSS is only 0.26% (17th percentile) and there is no CISA KEV listing, indicating no evidence of widespread active exploitation. Publicly available exploit code exists (SSVC 'poc' plus a public gist), so weaponization potential is real even if current exploitation is not observed - POC availability is a distinct signal from active exploitation and must not be conflated. A key discrepancy limits confidence: the CWE-640 classification (weak password recovery) does not naturally produce arbitrary code execution, so the 'RCE' claim and the 9.8 score may overstate the true impact, or the description may be under-specifying an account-takeover chain. Verify the actual impact and affected build with the DokuWiki maintainers before treating this as a confirmed unauthenticated RCE; if the instance allows self-registration and is internet-exposed, treat it as high priority pending that confirmation.

Exploit ScenarioDerived

An unauthenticated attacker on the network reaches the self-registration endpoint of an internet-facing DokuWiki 'Librarian' instance and abuses the flawed register()/password-recovery logic in inc/auth.php to create or take over a privileged account, then leverages that access to execute code on the host. A public proof-of-concept gist is available, lowering the skill required, and SSVC assesses the attack as automatable - meaning it could be scripted against many hosts.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 01, 2026

Remote code execution is claimed in DokuWiki 2025-05-14b "Librarian" (build 56.2) via the register function in inc/auth.php, which security intelligence maps to CWE-640 (weak password-recovery mechanism) - a mismatch that suggests account-takeover-to-code-execution rather than a direct memory-corruption RCE. The CVSS 3.1 score of 9.8 (network, no authentication, no user interaction) implies any internet-facing DokuWiki instance is at risk, and publicly available exploit code exists (a public gist proof-of-concept plus SSVC 'poc' exploitation status), though EPSS remains low at 0.26% (17th percentile), indicating no observed mass exploitation yet. Reported by MITRE and tracked as ENISA EUVD-2026-40863, it is tagged PHP/RCE but is not listed in CISA KEV.

RemediationAI

No vendor-released patch version is identified at time of analysis - the provided references point to the DokuWiki GitHub repository and issue #4682 rather than a tagged fixed release, so monitor https://github.com/dokuwiki/dokuwiki and issue #4682 for an official patched build and upgrade to it as soon as it is published. As the primary compensating control, disable open self-registration by setting the DokuWiki configuration option $conf['disableactions'] to include 'register' (Admin > Configuration Settings > Disable DokuWiki actions), which removes the vulnerable code path's public entry point at the cost of preventing new users from self-enrolling (admins must provision accounts manually). Additionally, restrict access to the wiki behind authentication or IP allow-listing at the reverse proxy for non-public deployments, and review the user manager for any unexpected or newly created accounts. Confirm the exact fixed version from the vendor before relying on a specific upgrade target; do not deploy an invented version number.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DokuWiki is a widely used PHP-based, file-backed (no database) open-source wiki. The flaw resides in inc/auth.php, the core authentication library, specifically the register() routine that handles new-user self-registration. The assigned weakness CWE-640 (Weak Password Recovery Mechanism for Forgotten Password) points to a logic defect in how account credentials or registration/recovery tokens are validated, rather than a classic buffer overflow or deserialization bug. The 'PHP' and 'RCE' tags plus the reference to inc/auth.php imply that abuse of the registration path can be leveraged to reach code execution - plausibly via privileged account creation followed by admin functionality, or PHP-level injection during the auth flow. The CPE/affected-version data is unresolved (EUVD lists 'n/a n/a'), so exact code-level root cause cannot be confirmed from the provided sources; the upstream DokuWiki GitHub repo and issue #4682 are cited for tracking.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Low–Critical)
Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Description asserts unauthenticated remote code execution via a public registration endpoint (AV:N/AC:L/PR:N/UI:N) with total impact, though the CWE-640 mapping leaves true impact uncertain.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 3.7 LOW

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jul 01, 2026 - 16:22 NVD
9.8 (CRITICAL)
CVE Published
Jun 30, 2026 - 22:16 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

An issue in DokuWiki 2025-05-14b "Librarian" 56.2 allows a remote attacker to execute arbitrary code via the register function in inc/auth.php

Executive ViewAI

Why It Matters

DokuWiki 2025-05-14b 'Librarian' contains a critical remote code execution vulnerability (CVE-2026-37106, CVSS 9.8) affecting all internet-facing instances without requiring authentication or user interaction. Publicly available exploit code exists, creating immediate risk of full system compromise for organizations running this version.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict DokuWiki access to internal networks or VPN only, implement WAF rules to block POST requests to the /inc/auth.php registration endpoint, disable user self-registration if operationally viable, monitor authentication logs and access patterns for exploitation attempts, maintain network segmentation to limit lateral movement if compromise occurs, and preserve offline backups of critical wiki content.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Medium
popular open-source PHP wiki, common but not on every host
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy