Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-8487

CVE-2024-8487: Modelscope Agentscope CORS Vulnerability

CVE-2024-8487 is a Cross-Origin Resource Sharing vulnerability in Modelscope Agentscope that allows unauthorized external domains to access the API, leading to data exposure and system compromise. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published: April 15, 2026

CVE-2024-8487 Overview

A Cross-Origin Resource Sharing (CORS) vulnerability exists in ModelScope AgentScope version v0.0.4. The CORS configuration on the AgentScope server does not properly restrict access to only trusted origins, allowing any external domain to make requests to the API. This misconfiguration can lead to unauthorized data access, information disclosure, and potential further exploitation, thereby compromising the integrity and confidentiality of the system.

Critical Impact

This vulnerability allows attackers from any external domain to bypass same-origin policy restrictions and make unauthorized API requests to the AgentScope server, potentially leading to data theft and system compromise.

Affected Products

  • ModelScope AgentScope v0.0.4

Discovery Timeline

  • 2025-03-20 - CVE CVE-2024-8487 published to NVD
  • 2025-04-01 - Last updated in NVD database

Technical Details for CVE-2024-8487

Vulnerability Analysis

This vulnerability falls under CWE-346 (Origin Validation Error), which occurs when a product does not properly verify that the source of data or communication is valid. In the case of AgentScope v0.0.4, the server-side CORS implementation fails to validate the Origin header of incoming requests against an allowlist of trusted domains.

When an application permits cross-origin requests from any domain (typically by setting Access-Control-Allow-Origin: * or dynamically reflecting any origin), it effectively disables the browser's same-origin policy protections for that resource. This allows malicious websites to execute JavaScript that sends authenticated requests to the vulnerable API and reads the responses.

Root Cause

The root cause of this vulnerability is improper CORS configuration in the AgentScope server. The server appears to accept cross-origin requests from any domain without validating whether the requesting origin should be trusted. This permissive configuration bypasses the security boundaries that browsers enforce through the same-origin policy.

A properly configured CORS implementation should explicitly define which origins are allowed to access the API and reject requests from untrusted sources. The vulnerable version fails to implement this origin validation, creating an opportunity for cross-site attacks.

Attack Vector

An attacker can exploit this vulnerability through a network-based attack that requires no authentication or user interaction. The attack scenario typically involves:

  1. An attacker hosts a malicious website containing JavaScript code designed to interact with the vulnerable AgentScope API
  2. A victim who has an authenticated session with the AgentScope server visits the attacker's malicious website
  3. The malicious JavaScript executes cross-origin requests to the AgentScope API using the victim's credentials (cookies, session tokens)
  4. Due to the misconfigured CORS policy, the browser allows the malicious site to read the API responses
  5. The attacker can exfiltrate sensitive data, modify configurations, or perform other unauthorized actions depending on the API capabilities

The vulnerability is particularly dangerous because it can be exploited silently without the victim's knowledge, requiring only that they visit a malicious or compromised website while having an active session with the target application.

Detection Methods for CVE-2024-8487

Indicators of Compromise

  • Unexpected cross-origin requests in server access logs from unfamiliar referrer domains
  • API access patterns from browser-based clients with mismatched Origin headers
  • Unusual data access or exfiltration patterns involving authenticated sessions
  • Reports of data exposure or unauthorized actions traced back to cross-site request sources

Detection Strategies

  • Review HTTP response headers for overly permissive CORS configurations such as Access-Control-Allow-Origin: * or dynamic origin reflection without validation
  • Implement server-side logging to track and alert on cross-origin requests from unexpected domains
  • Use web application firewalls (WAF) to monitor for suspicious cross-origin request patterns
  • Conduct regular security audits of API endpoint configurations to identify CORS misconfigurations

Monitoring Recommendations

  • Enable detailed access logging on the AgentScope server to capture Origin and Referer headers
  • Set up alerts for API requests originating from domains outside the expected allowlist
  • Monitor for anomalous authenticated session activity that may indicate cross-origin abuse
  • Implement real-time correlation of access logs to detect potential data exfiltration attempts

How to Mitigate CVE-2024-8487

Immediate Actions Required

  • Audit the current CORS configuration on all AgentScope server deployments to identify permissive settings
  • Implement an explicit allowlist of trusted origins that should be permitted to make cross-origin requests
  • Restrict sensitive API endpoints to same-origin requests only where cross-origin access is not required
  • Review authentication mechanisms to ensure credentials are not automatically included in cross-origin requests without explicit consent

Patch Information

As of the last CVE update on 2025-04-01, users should monitor the ModelScope AgentScope repository and the Huntr Bounty Listing for official patch releases. It is recommended to upgrade to a patched version once available or implement the workarounds described below to mitigate the risk.

Workarounds

  • Configure a reverse proxy (such as nginx or Apache) in front of the AgentScope server to enforce strict CORS headers with a defined allowlist
  • Implement network-level access controls to restrict which hosts can communicate with the AgentScope API
  • Use authentication tokens in request headers rather than cookies to prevent automatic credential inclusion in cross-origin requests
  • Consider deploying the AgentScope server in an isolated network segment with restricted external access until an official patch is available
bash
# Example nginx configuration to enforce strict CORS
# Add to your server block configuration for the AgentScope API

location /api/ {
    # Only allow specific trusted origins
    set $cors_origin "";
    if ($http_origin ~* "^https://(trusted-domain\.com|another-trusted\.org)$") {
        set $cors_origin $http_origin;
    }
    
    add_header 'Access-Control-Allow-Origin' $cors_origin always;
    add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
    add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type' always;
    add_header 'Access-Control-Allow-Credentials' 'true' always;
    
    # Handle preflight requests
    if ($request_method = 'OPTIONS') {
        return 204;
    }
    
    proxy_pass http://agentscope-backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechModelscope

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-346
  • Technical References
  • Huntr Bounty Listing
  • Related CVEs
  • CVE-2026-6604: ModelScope AgentScope SSRF Vulnerability

  • CVE-2026-6605: modelscope agentscope SSRF Vulnerability

  • CVE-2026-6603: ModelScope AgentScope RCE Vulnerability

  • CVE-2026-6606: ModelScope AgentScope SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English