ADVISORIES

PyPA Advisory Database

PYSEC-2026-1264

Composio Eval Injection Vulnerability

Details

In composiohq/composio version 0.4.3, the mathematical_calculator endpoint uses the unsafe eval() function to perform mathematical operations. This can lead to arbitrary code execution if untrusted input is passed to the eval() function.

Affected packages

EcosystemPackageAffected versions
PyPIcomposio-core
All versions before 0.5.43 (fixed in 0.5.43)

References