Silent loss of messages when merging overlapping chat exports in whatstk
- State
- Published
- Severity
- 1.8 Low
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Nov 3, 2026
Description
Incomplete Comparison with Missing Factors (CWE-1023) in merge_chats() (whatstk/utils/chat_merge.py), reached from BaseChat.merge(), in whatstk from 0.3.0 before 0.9.0 allows a party that supplies the chat exports to cause messages to be absent from the merged output with no indication that anything was removed, because the merge keeps whole the chat whose first message is oldest and appends from the other only the messages that are strictly newer than the last message of the first. Every message of the second chat that falls inside the date range already covered by the first is therefore discarded. The two chats are compared on their date ranges and not on the identity of the individual messages, so a message held by only one of the two exports is dropped whenever its date falls inside the range of the other, and both branches of _merge_two_chats() behave this way. The merged result is returned without a warning and without a count of what was removed. This results in a merged chat that omits messages the inputs contain, in a library whose documented uses include forensic review and the generation of training data.
| Product | Versions |
|---|---|
| whatstk lucasrodes | 0.3.0 to before 0.9.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 1.8 Low | Secur0 |
Weaknesses
- CWE-1023 Incomplete Comparison with Missing Factors
References
- https://github.com/lucasrodes/whatstk/pull/185Patch
- https://github.com/lucasrodes/whatstk/commit/01d66d8Patch
- https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0Release Notes
- https://secur0.com/en/cna/cve-list/cve-2026-121564-whatstk-merge-message-lossThird-Party AdvisoryTechnical Details
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.