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

Status: published. Published: 2026-11-03. Updated: 2026-11-03.

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.

## Remediation

- fix: Upgrade to whatstk 0.9.0 or later. (source: CNA: Secur0)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Secur0) — https://github.com/lucasrodes/whatstk/pull/185
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Secur0) — https://github.com/lucasrodes/whatstk/commit/01d66d8

## Affected products and versions

- lucasrodes / whatstk (whatstk): ≥ 0.3.0; < 0.9.0 (affected, semver). Source: CNA: Secur0

## Severity and prioritization

- CVSS 4.0: 1.8 (low); 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; source: CNA: Secur0

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-1023

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/lucasrodes/whatstk/pull/185 (CNA: Secur0; patch)

- https://github.com/lucasrodes/whatstk/commit/01d66d8 (CNA: Secur0; patch)

- https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0 (CNA: Secur0; release-notes)

- https://secur0.com/en/cna/cve-list/cve-2026-121564-whatstk-merge-message-loss (CNA: Secur0; third-party-advisory, technical-description)

## Provenance

- CNA: Secur0: https://www.cve.org/CVERecord?id=CVE-2026-121564; retrieved 2026-11-03; source updated 2026-11-03

Revision: 2bbbfcc717b1e2ceafcdf8b812ec00aa557ed3dcc88f266bf580f00842e2e692

Canonical: https://y2.dev/cve/CVE-2026-121564

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.