cvelo
P2 · HighMalware

Malicious code in mailreader (PyPI)

  • MAL-2026-21148

Summary

The PyPI package mailreader is flagged as malicious. It is one half of a paired campaign: a frontend package hides malicious code inside a pickle disguised as a config, and a related loader dependency contains code that unpickles it. Running the pickle automatically executes the embedded code, which establishes persistence through a PTH file and downloads a second-stage payload. The result behaves like a remote access trojan, enabling file exfiltration and remote command execution, possibly limited to a set of commands. The package was first reported by Island.io. No CVSS score is assigned, and the record does not say whether the campaign is on the CISA known exploited list.

AI summary · verify against the vendor advisory

Description

n this campaign, malicious packages are published in pairs. One package ("frontend" one) carries malicious code hidden in a pickle disguised as a config. A related dependency (a loader package) contains code to load the pickle. During unpickling, malicious code embeded in the pickle file is automatically executed. It then establishes persistence via a PTH file and downloads the next stage payload. It finally acts like a RAT, allowing remote exfiltration and code execution. This package has been first discovered by Island.io --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-10-webreader Reasons (based on the campaign): - files-exfiltration - obfuscation - The malicious code is intentionally included in a dependency of the package - Downloads and executes a remote malicious script. - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine. - rat - persistence - abuses-pth

Text from the OSV record.

Recommendation

Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.

Affected

  • mailreaderPyPI

    No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.