CVE-2026-68901: WeKan Board Export REST Endpoints: NULL Pointer Dereference on Invalid authToken Leads to Uncaught Exception / Remote Denial of Service
Wekan is open source kanban built with Meteor. Prior to 10.38, the /api/boards/:boardId/export, /api/boards/:boardId/attachments/:attachmentId/export, /api/boards/:boardId/export/csv, and /api/boards/:boardId/exportExcel handlers in models/export.js and models/exportExcel.js looked up a user from the attacker-controlled authToken query parameter and immediately called user._id.toString() without checking whether ReactiveCache.getUser() returned undefined. A request for a private board with an unknown token therefore threw a TypeError from an asynchronous route, producing an unhandled rejection that could terminate the Wekan process and deny service to all users. Version 10.38 adds a 401 guard after every export token lookup and wraps export handlers with safeRoute() so unexpected exceptions become controlled responses. This issue is fixed in version 10.38.
Security readout for executives and security teams
Plain-English summary
Wekan versions before 10.38 can crash when an invalid authentication token reaches certain board export endpoints. A successful trigger may interrupt service for every user, but the disclosed issue does not expose or modify data. Wekan 10.38 corrects the faulty error handling.
Executive priority
Prioritize upgrading exposed or operationally critical Wekan instances promptly. The risk is service-wide availability loss rather than data theft. Schedule other affected internal instances into the next expedited maintenance window and monitor for abnormal restarts until remediation is confirmed.
Technical view
Four REST export handlers dereferenced user._id after ReactiveCache.getUser() could return undefined for an unknown authToken. The resulting TypeError in an asynchronous route could become an unhandled rejection and terminate the Wekan process. Version 10.38 adds 401 checks and safeRoute() exception handling.
Likely exposure
Exposure applies to Wekan installations below 10.38 where the affected board export endpoints are network-accessible. The supplied CVSS vector indicates low complexity and low privileges. Internet-facing or business-critical installations have greater operational risk, although actual exposure depends on deployment configuration.
Exploitation context
The source bundle does not report active exploitation, and this CVE is not listed as KEV. The described impact is remote denial of service through process termination. Evidence does not establish exploit reliability, observed attacks, or confidentiality and integrity impact.
Researcher notes
Affected routes are board export, attachment export, CSV export, and Excel export handlers. The root cause is CWE-476 null or undefined dereference compounded by asynchronous exception handling. The published fix combines explicit authentication failure responses with route-level exception containment.
Mitigation direction
Upgrade Wekan to version 10.38 or later.
Confirm the deployed build includes the 401 token guards and safeRoute() wrappers.
Restrict access to affected export endpoints until upgrading, where operationally feasible.
Monitor Wekan process restarts and unhandled rejection errors.
Validation and detection
Inventory every Wekan deployment and record its running version.
Confirm no production instance remains below version 10.38.
In an authorized test environment, verify invalid export authentication receives a controlled 401 response.
Confirm malformed export requests do not terminate or restart the Wekan process.
Review logs for TypeError, unhandled rejection, and unexpected restart events involving export routes.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.