# CVE-2026-121564: Silent loss of messages when merging overlapping chat exports in whatstk

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 1.8
- **CVSS:** 1.8 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Active; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.37% (percentile 23, 2026-11-28)
- **CWE:** CWE-1023
- **Published:** 2026-11-03T15:24:43.300Z
- **Modified:** 2026-11-03T18:17:57.797Z

## Who should check

- Anyone running lucasrodes whatstk \>= 0.3.0, \< 0.9.0

## 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.

## Affected and fixed versions

- lucasrodes whatstk: \>= 0.3.0, \< 0.9.0 (cvelist)

## Mitigation

- Upgrade whatstk to 0.9.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-121564. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-121564.md
Affected: lucasrodes whatstk >= 0.3.0, < 0.9.0
Fixed in: lucasrodes whatstk 0.9.0

Steps:
1. Search this machine and project for lucasrodes whatstk: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-121564 being exploited?

There is no confirmed exploitation: CVE-2026-121564 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-121564?

Low: CVSS 1.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-121564?

lucasrodes whatstk \>= 0.3.0, \< 0.9.0.

### Is there a fix for CVE-2026-121564?

Yes. Fixed in lucasrodes whatstk 0.9.0. Upgrade whatstk to 0.9.0 or later.

### How do I check if I'm affected by CVE-2026-121564?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/lucasrodes/whatstk/pull/185>
- patch: <https://github.com/lucasrodes/whatstk/commit/01d66d8>
- article: <https://secur0.com/en/cna/cve-list/cve-2026-121564-whatstk-merge-message-loss>
- other: <https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-121564>

HTML: <https://flawdb.com/CVE-2026-121564> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-121564>
