Security Resilience

CVE-2024-8953

Composio 0.4.3

Public PoC
Published
20 March 2025
Modified
01 April 2025
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.012 69th percentile
Risk Priority 74 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-8953 is a critical-severity Dynamic Variable Evaluation (CWE-627) vulnerability in Composio. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 31% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-8953 affects composiohq/composio version 0.4.3, where the mathematical_calculator endpoint improperly uses the unsafe eval() function to perform mathematical operations. This vulnerability, associated with CWE-627 (Dynamic Code Evaluation) and CWE-913 (Improper Control of Dynamically-Managed Code Resources), enables arbitrary code execution when untrusted input is passed to the eval() function. The issue has a CVSS v3.1 base score of 9.8, reflecting its critical severity due to high impacts on confidentiality, integrity, and availability.

The vulnerability is exploitable over the network with low attack complexity, requiring no privileges, no user interaction, and maintaining an unchanged scope. Remote attackers can send crafted input to the mathematical_calculator endpoint, triggering arbitrary code execution on the server hosting the affected composio instance. Successful exploitation grants attackers full control over the system, potentially leading to data theft, modification, or denial of service.

The primary advisory is available on Huntr at https://huntr.com/bounties/8203d721-e05f-4500-a5bc-c0bec980420c, which details the vulnerability report. Security practitioners should consult this reference for specific patch information or workarounds, as no additional mitigation details are provided in the CVE metadata. Upgrading to a fixed version of composiohq/composio beyond 0.4.3 is recommended to address the eval() misuse.

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1114 Email Collection Collection
Adversaries may target user email to collect sensitive information.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-8864Same product: Composio Composio
CVE-2024-8954Same product: Composio Composio
CVE-2024-8952Same product: Composio Composio
CVE-2024-8955Same product: Composio Composio
CVE-2024-8958Same product: Composio Composio
CVE-2024-53526Same product: Composio Composio
CVE-2025-56427Same product: Composio Composio
CVE-2024-8865Same product: Composio Composio
CVE-2023-31032Shared CWE-627, CWE-913
CVE-2026-2451Shared CWE-627

Affected Assets

composio
composio
0.4.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Access enforcement directly stops unauthorized reads/writes to dynamic code resources by applying authorization checks at access time.

Least privilege reduces the set of subjects that can reach or modify dynamic code resources, limiting the weakness's reach.

Input validation directly stops untrusted strings from being used as variable or function names in dynamic evaluation.

Secure engineering principles include avoiding or strictly controlling dynamic variable resolution from user input.

Isolating security functions from non-security code prevents unintended manipulation of dynamically managed executable resources.

Process isolation keeps each process's dynamic code resources in separate domains, blocking cross-process tampering.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent unsafe dynamic variable evaluation via input validation and code review.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect dynamic evaluation flaws but does not prevent them by itself.

prevents

Training developers in secure coding practices reduces the likelihood they introduce dynamic variable evaluation with user-controlled names, but the weakness is a specialized implementation detail (mostly PHP, under-reported per CWE notes) and developers remain fallible; the strongest control is A.8.29 security testing, mirroring the A.8.28 -> CWE-79 and A.6.3 -> CWE-598 rungs.

prevents

Secure coding standards directly prohibit or constrain dynamic variable evaluation to prevent arbitrary access.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software implementation weaknesses like dynamic variable evaluation in delivered code the way those practices do, but secure coding is a fallible human practice and the clause's ceiling on this verb for software CWEs is `partial`.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-913, a class-level weakness, and none of its children carries one either.

References