CVE-2026-142382
Sample chat files are downloaded over cleartext HTTP in whatstk
AI summary AI generated
An attacker on the network path can substitute sample chat files downloaded over cleartext HTTP, controlling the content the whatstk Python library parses.
Mitigation
- Upgrade whatstk to 0.9.0 or later.
Who should check
- Anyone running lucasrodes whatstk >= 0.3.0, < 0.9.0
Vulnerability facts
- Affected
- lucasrodes whatstk >= 0.3.0, < 0.9.0
- Fixed in
- lucasrodes whatstk 0.9.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 2.1 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- 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
- CWE
- CWE-319
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| lucasrodes whatstk | >= 0.3.0, < 0.9.0 | — | cvelist |
Versions mentioned in the description AI generated
Extracted by AI; each line quotes the description word for word. Source data above takes precedence.
- Affected: whatstk from 0.3.0 before 0.9.0
from 0.3.0 before 0.9.0
- Fixed: whatstk 0.9.0
before 0.9.0
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-142382. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-142382.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.
Technologies
References
Patches
FAQ
Is CVE-2026-142382 being exploited?
There is no confirmed exploitation: CVE-2026-142382 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-142382?
Low: CVSS 2.1 (v4.0, scored by CNA). Remote, no login 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-142382?
lucasrodes whatstk >= 0.3.0, < 0.9.0.
Is there a fix for CVE-2026-142382?
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-142382?
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.
More lucasrodes vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| LOW 2.0 | CVE-2026-141426 The Google Drive client secret is written with permissions readable by other local users in whatstk | PyPI packages+1 | EPSS 7% | |
| MEDIUM 6.7 | CVE-2026-121691 Unbounded decompression in the whatstk ZIP loader exhausts memory and disk | lucasrodes | EPSS 7% |