AgentScope Deserialization Vulnerability
        
  Critical severity
        
          GitHub Reviewed
      
        Published
          Mar 20, 2025 
          to the GitHub Advisory Database
          •
          Updated Mar 20, 2025 
      
  
Description
        Published by the National Vulnerability Database
      Mar 20, 2025 
    
  
        Published to the GitHub Advisory Database
      Mar 20, 2025 
    
  
        Reviewed
      Mar 20, 2025 
    
  
        Last updated
      Mar 20, 2025 
    
  
A vulnerability in the RpcAgentServerLauncher class of modelscope/agentscope v0.0.6a3 allows for remote code execution (RCE) via deserialization of untrusted data using the dill library. The issue occurs in the AgentServerServicer.create_agent method, where serialized input is deserialized using dill.loads, enabling an attacker to execute arbitrary commands on the server.
References