CVE-2024-8438: Path Traversal in modelscope/agentscope

Published Mar 20, 2025
·
Updated

A path traversal vulnerability exists in modelscope/agentscope version v.0.0.4. The API endpoint /api/file does not properly sanitize the path parameter, allowing an attacker to read arbitrary files on the server.

Affected Software

3 affected components
pip/agentscope<=0.0.4
modelscope agentscope
modelscope agentscope=0.0.4

Event History

Mar 20, 2025
CVE Published
via MITRE·10:09 AM
Data Sourced
via MITRE·10:09 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
Affected Software
Advisory Published
via GitHub·12:32 PM
Data Sourced
via GitHub·12:32 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-8438?

CVE-2024-8438 has a moderate severity due to its potential to allow unauthorized access to sensitive files.

2

How do I fix CVE-2024-8438?

To fix CVE-2024-8438, upgrade the maliciously affected modelscope/agentscope package to a version that includes the patch for this vulnerability.

3

What kind of attack can CVE-2024-8438 enable?

CVE-2024-8438 can enable attackers to perform a path traversal attack, allowing them to read arbitrary files on the server.

4

Which versions of agentscope are affected by CVE-2024-8438?

CVE-2024-8438 affects agentscope version v.0.0.4 and earlier versions.

5

Is there a workaround for CVE-2024-8438?

A potential workaround for CVE-2024-8438 includes implementing proper input sanitization for the path parameter on the API endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203