Advisory

PYSEC-2026-559

Also known as: CVE-2026-30625, GHSA-cw73-5f7h-m4gv

Summary

Upsonic: remote code execution vulnerability in its MCP server/task creation functionality

Details

Upsonic 0.71.6 contains a remote code execution vulnerability in its MCP server/task creation functionality. The application allows users to define MCP tasks with arbitrary command and args values. Although an allowlist exists, certain allowed commands (npm, npx) accept argument flags that enable execution of arbitrary OS commands. Maliciously crafted MCP tasks may lead to remote code execution with the privileges of the Upsonic process. In version 0.72.0 Upsonic added a warning about using Stdio servers being able to execute commands directly on the machine.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:23 UTC

Affected packages and fixes

upsonic

PyPI · All systems

Affected

  • introduced 0, fixed 0.72.0 (ecosystem)

Fixed versions

0.72.0

Fix

  • Fixed version 0.72.0
    pip install --upgrade upsonic==0.72.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences