CVE-2026-142382
Deferred Deferred - Pending Action

Cleartext Transmission of Sensitive Data in whatstk Library

Vulnerability report for CVE-2026-142382, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: Secur0

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
lucasrodes whatstk From 0.3.0 (inc) to 0.9.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-319 The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the whatstk library using HTTP instead of HTTPS for downloading sample chat files. An attacker on the network can intercept the initial unencrypted request and substitute malicious files before a redirect to HTTPS occurs. This allows them to control the content parsed by the library.

Detection Guidance

To detect this vulnerability, check if your whatstk library versions 0.3.0 to 0.8.1 are using HTTP URLs for sample chat files. Inspect the codebase for occurrences of 'http://raw.githubusercontent.com' in files like whatstk/data.py, documentation, or tests. Use commands like 'grep -r "http://raw.githubusercontent.com" /path/to/project' to find insecure URLs.

Impact Analysis

The impact is limited to manipulation of the sample chat files processed by the library. It does not expose sensitive data but allows an attacker to control the content parsed, potentially leading to incorrect analysis or output from the library.

Mitigation Strategies

Upgrade to whatstk version 0.9.0 or later to ensure all sample chat URLs use HTTPS. Remove or replace any hardcoded HTTP URLs in your codebase. Verify the fix by checking that all URLs now start with 'https://' instead of 'http://'.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142382. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...