Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-4770 — spip-pth-demo

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in spip-pth-demo (PyPI)

Source: amazon-inspector

The package installs a suspicious-demo.pth file into site-packages via setup.py's data_files=[("", ["suspicious-demo.pth"])]. Python auto-processes.pth files at every interpreter startup, and this one contains import spip_pth_demo_marker, whose module body is import os; os.system("calc.exe"). The result: every invocation of python on a host that has installed this package executes an OS command via the shell, with no user action required beyond installation. The README explicitly states the marker module 'only writes a benign marker line to stderr' and 'does not launch processes or run OS commands' — the shipped code directly contradicts this. While the specific argv (calc.exe) is innocuous on Windows and a no-op elsewhere, the mechanism is a fully functional persistent code-execution surface in the installer's Python environment; substituting any other command turns this into arbitrary RCE on every Python launch..pth-based execution is particularly dangerous because it bypasses install-phase analysis and fires on every subsequent interpreter start, including in unrelated projects sharing the same environment.

Affected software

MAL-2026-4770 is recorded against 1 package.

  • spip-pth-demo

Timeline and source

Published on 25 May 2026 and last revised on 26 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

pypi.org (Package)
pypi.org (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-05-25
Updated 2026-08-20
Modified 2026-05-26
Fix URL N/A

Affected Packages

Software From version Fixed in
spip-pth-demo

Free Vulnerability Check

Is your site affected by MAL-2026-4770?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-4770 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026