Intel

AIKIDO-2025-10933

strands-agents is vulnerable to Use of Incorrectly-Resolved Name or Reference

Use of Incorrectly-Resolved Name or Reference Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Dec 11, 2025

72

High Risk

This Affects:

PYTHONstrands-agents
1.12.0 - 1.17.0
Fixed in 1.18.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to use of incorrectly resolved names or references through dynamic tool-module registration in ToolLoader. The load_tools_from_file_path and load_python_tools helpers insert tool modules into sys.modules using names derived directly from the file’s base_name or the provided tool_name, without validation or namespacing. An attacker can register a tool whose name matches a standard library or internal module, overwriting that entry in sys.modules and hijacking subsequent imports, which can silently modify SDK or application behavior.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

strands-agents is vulnerable to Use of Incorrectly-Resolved Name or Reference in versions 1.12.0 - 1.17.0.

How to fix this

Upgrade the strands-agents library to the patch version.