Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104468 Overview
CVE-2026-104468 is an insufficient session expiration vulnerability in YesWiki versions prior to 4.6.7. The flaw resides in the password reset workflow, where tokens generated by LostPasswordAction do not include an expiry timestamp. An attacker who obtains an unused reset URL from mailboxes, server logs, backups, or browser history can submit a new password through checkEmailKey() and take over the associated account. The weakness is tracked as [CWE-613: Insufficient Session Expiration].
Critical Impact
Attackers with access to historical password reset links can hijack YesWiki accounts without time constraints, bypassing the intended single-use lifetime of reset tokens.
Affected Products
- YesWiki versions prior to 4.6.7
- YesWiki LostPasswordAction password reset component
- YesWiki checkEmailKey() token validation routine
Discovery Timeline
- 2026-10-02 - CVE-2026-104468 published to NVD
- 2026-10-02 - Last updated in NVD database
Technical Details for CVE-2026-104468
Vulnerability Analysis
YesWiki implements its password reset workflow through the LostPasswordAction handler. When a user requests a password reset, the application generates a token and emails a URL containing that token to the user. The validation routine checkEmailKey() accepts the token and allows the submitter to set a new password.
The generated tokens lack any time-bound metadata. The application does not store an issuance timestamp alongside the token, and checkEmailKey() performs no temporal check during validation. As a result, a reset URL remains valid indefinitely until the user completes the reset or the token is manually invalidated.
An attacker who recovers an old reset URL can submit it through the standard reset endpoint and complete account takeover. Successful exploitation yields control over the targeted YesWiki account and any content or privileges associated with it.
Root Cause
The root cause is missing session expiration logic on password reset tokens issued by LostPasswordAction. The implementation stores tokens without an expiry attribute, and the verification path in checkEmailKey() never compares a token age against a maximum lifetime. This violates the control described in [CWE-613].
Attack Vector
Exploitation requires an attacker to obtain a previously issued reset URL. Common sources include compromised mailboxes, exposed mail server logs, forgotten backup archives, shared browser histories, and chat transcripts where users pasted the link. Once the URL is in hand, the attacker visits it, submits a new password through the standard YesWiki reset form, and authenticates as the victim. No network interception or privilege is required beyond possession of the URL.
The vulnerability requires that the legitimate user never completed the original reset request, which constrains the attack to abandoned or forgotten reset links. Technical details are documented in the GitHub Security Advisory GHSA-x3xh-4hx3-rgm7 and the VulnCheck Advisory on YesWiki.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-104468
Indicators of Compromise
- Password reset completions where the issuing email timestamp is significantly older than the completion timestamp.
- Successful logins immediately following reset submissions from IP addresses or user agents that do not match the account's history.
- Access to the YesWiki LostPasswordAction endpoint from unexpected regions or anonymizing infrastructure.
Detection Strategies
- Correlate reset request emails with reset completion events and alert when the delta exceeds a defined threshold such as one hour.
- Review mail server, backup, and web proxy logs for the presence of YesWiki reset URLs that have not been invalidated.
- Monitor administrative or privileged YesWiki accounts for password changes that are not accompanied by a recent user-initiated reset request.
Monitoring Recommendations
- Enable application-level audit logging for LostPasswordAction requests and checkEmailKey() validations, including timestamps and source IPs.
- Forward YesWiki web server access logs to a central analytics platform and build dashboards for reset endpoint activity.
- Alert on repeated reset submissions targeting the same account from distinct source addresses within short time windows.
How to Mitigate CVE-2026-104468
Immediate Actions Required
- Upgrade YesWiki to version 4.6.7 or later, which introduces expiry handling for password reset tokens.
- Invalidate all outstanding password reset tokens by clearing the relevant storage after the upgrade.
- Force password rotation for accounts that received reset emails prior to the upgrade and did not complete the reset.
Patch Information
The maintainers addressed CVE-2026-104468 in YesWiki 4.6.7. The fix introduces expiration metadata on reset tokens and enforces the check inside checkEmailKey(). Review the GitHub Security Advisory GHSA-x3xh-4hx3-rgm7 for commit-level details and upgrade instructions.
Workarounds
- Restrict access to the YesWiki LostPasswordAction endpoint using IP allowlists or a web application firewall rule until the upgrade is applied.
- Purge historical reset emails from mailboxes and backups to reduce the pool of reusable tokens.
- Require administrators to rotate credentials and enable multi-factor authentication where supported by the deployment stack.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

