CVE-2026-142382

Source
https://cve.org/CVERecord?id=CVE-2026-142382
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142382.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142382
Published
2026-12-02T17:45:36Z
Modified
2026-12-02T22:46:01Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Sample chat files are downloaded over cleartext HTTP in whatstk
Details

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.

Database specific
{
    "cna_assigner":  "Secur0",
    "cwe_ids":  [
        "CWE-319"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142382.json"
}
References

Affected packages

Git / github.com/lucasrodes/whatstk

Affected ranges

Type
GIT
Repo
https://github.com/lucasrodes/whatstk
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.3.0"
                },
                {
                    "fixed":  "0.9.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "01d66d8"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v0.9.0",
            "range":  [
                {
                    "fixed":  "5afa927a2c9d311f2b77ee8bccb4124ed9d70d69"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.3.0
v0.3.1
v0.4.0
v0.4.1
v0.5.0
v0.5.0.rc0
v0.5.0.rc1
v0.6.0
v0.6.1
v0.6.2
v0.6.3
v0.7.0
v0.7.1
v0.8.0
v0.8.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142382.json"