affected: - package: ecosystem: PyPI name: agentscope purl: pkg:pypi/agentscope ranges: - events: - introduced: '0' - fixed: 0.0.5a1 type: ECOSYSTEM versions: - 0.0.1 - 0.0.2 - 0.0.3 - 0.0.4 aliases: - CVE-2024-48050 - GHSA-6p55-qr3j-mpgq details: 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. id: PYSEC-2024-262 modified: '2026-05-20T09:18:51.339711Z' published: '2024-11-04T23:15:04.250Z' references: - type: EVIDENCE url: https://gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d - type: EVIDENCE url: https://rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Code-Execution-via-The-use-of-eval-in-is_callable_expression-and-sanitize_nod-cd4ea6c576da4e0b965ef596855c298d - type: ADVISORY url: https://github.com/advisories/GHSA-6p55-qr3j-mpgq severity: - score: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H type: CVSS_V3