PYSEC-2026-2329
AgentScope vulnerable to Server-Side Request Forgery
Details
A vulnerability was identified in modelscope agentscope up to 1.0.18. Affected by this issue is the function _parse_url/prepare_image/openai_audio_to_text of the file src/agentscope/tool/_multi_modality/_openai_tools.py of the component Cloud Metadata Endpoint. Such manipulation of the argument image_url/audio_file_url leads to server-side request forgery. The attack may be performed from remote. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for agentscope (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6604[ADVISORY]
- https://gist.github.com/YLChen-007/e3e0741b297d8c2ffca59b6350d4c657[WEB]
- https://github.com/agentscope-ai/agentscope[PACKAGE]
- https://vuldb.com/submit/792224[WEB]
- https://vuldb.com/vuln/358239[WEB]
- https://vuldb.com/vuln/358239/cti[WEB]
- https://pypi.org/project/agentscope[PACKAGE]
- https://github.com/advisories/GHSA-659x-hm75-hpv7[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/agentscope"]}'