CVE-2026-142382
Sample chat files are downloaded over cleartext HTTP in whatstk
Cleartext Transmission of Sensitive Information (CWE-319) in whatstk/data.py in whatstk from 0.3.0 before 0.9.0 allows an attacker on the network path between the user and raw.githubusercontent.com to substitute the sample chat files the library downloads. The module builds chats_folder on the http scheme, and every entry of whatsapp_urls, which is the documented way to load a sample chat, inherits that prefix. _str_from_file() passes any path beginning with http to urlopen(), which follows GitHub's 301 redirect to HTTPS, but the first request has already travelled in cleartext on port 80, so an attacker who answers before the redirect supplies the file that is parsed. The scheme appears 15 times across 7 files of the affected releases: the sample URLs themselves, a docstring that renders in the API reference, the test suite, and four documentation pages that readers copy from. The project URL published to PyPI uses http as well. The files served are public sample chats, so what the attacker gains is control of the content the library parses rather than sight of anything confidential.
Fixes and workarounds
Fix
Upgrade to whatstk 0.9.0 or later, where every sample chat URL uses the https scheme. On an affected release, passing an https URL of the same file to the loader instead of the whatsapp_urls entry avoids the cleartext request, since the loader accepts any URL.
Source: CNA: Secur0Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: Secur0Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: Secur0Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| whatstk lucasrodes whatstk
https://pypi.org |
≥ 0.3.0; < 0.9.0 (affected, semver)
Other versions: unaffected |
CNA: Secur0 |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 2.1 low |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | CNA: Secur0 |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/lucasrodes/whatstk/pull/184CNA: Secur0 · patch
- https://github.com/lucasrodes/whatstk/commit/01d66d8CNA: Secur0 · patch
- https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0CNA: Secur0 · release-notes
- https://secur0.com/en/cna/cve-list/cve-2026-142382-whatstk-cleartext-sample-chat-urlsCNA: Secur0 · third-party-advisory, technical-description
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.