Skip to main content
VulnerabilityPublished Updated

CVE-2024-48050: agentscope · Code Injection

Affects agentscopeSource CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Nov 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIagentscopepkg:pypi/agentscopeOther threatsAffected
  • <=0.0.4
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-48050, organizations should immediately audit their use of agentscope and identify any deployments running versions up to 0.0.4. Until an official patch is released, the following specific actions are recommended: 1) Disable or restrict access to the vulnerable is_callable_expression function or the affected workflow_utils.py module to prevent processing of untrusted input; 2) Implement input validation and sanitization to ensure that any input passed to eval() or similar functions is strictly controlled or avoided; 3) Replace the use of eval() with safer alternatives such as ast.literal_eval() if only literals need to be parsed; 4) Employ runtime application self-protection (RASP) or web application firewalls (WAFs) to detect and block suspicious payloads targeting this vulnerability; 5) Monitor logs and network traffic for anomalous activity indicative of exploitation attempts; 6) Plan for an immediate upgrade to a patched version once available; 7) Conduct code reviews and security testing to identify and remediate similar unsafe coding patterns elsewhere in the codebase.

Description

In agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the function is_callable_expression. Within this function, the line result = eval(s) poses a security risk as it can directly execute user-provided commands.

References

Community reviews

Loading reviews…