{"affected":[{"defaultStatus":"unaffected","ecosystem":"https://pypi.org","packageName":"whatstk","product":"whatstk","source":"CNA: Secur0","vendor":"lucasrodes","versions":[{"lessThan":"0.9.0","status":"affected","version":"0.3.0","versionType":"semver"}]}],"cveId":"CVE-2026-142382","cwes":["CWE-319"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":2.1,"severity":"low","source":"CNA: Secur0","vector":"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","version":"4.0"}],"modifiedAt":1796246865920,"publishedAt":1796233536664,"references":[{"source":"CNA: Secur0","tags":["patch"],"url":"https://github.com/lucasrodes/whatstk/pull/184"},{"source":"CNA: Secur0","tags":["patch"],"url":"https://github.com/lucasrodes/whatstk/commit/01d66d8"},{"source":"CNA: Secur0","tags":["release-notes"],"url":"https://github.com/lucasrodes/whatstk/releases/tag/v0.9.0"},{"source":"CNA: Secur0","tags":["third-party-advisory","technical-description"],"url":"https://secur0.com/en/cna/cve-list/cve-2026-142382-whatstk-cleartext-sample-chat-urls"}],"remediation":[{"kind":"fix","source":"CNA: Secur0","text":"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."},{"kind":"fix","source":"CNA: Secur0","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/lucasrodes/whatstk/pull/184"},{"kind":"fix","source":"CNA: Secur0","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/lucasrodes/whatstk/commit/01d66d8"}],"revision":"c91f9b9b27aac0691c1db7d5f82e1db3b8ef62e3dd0c9c16b50010a0c9baa83a","sources":[{"modifiedAt":1796246865920,"name":"CNA: Secur0","retrievedAt":1796249347141,"url":"https://www.cve.org/CVERecord?id=CVE-2026-142382"}],"ssvc":{"assessedAt":1796246827555,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"Sample chat files are downloaded over cleartext HTTP in whatstk","updatedAt":1796249347141}