Devin AI
8d68d35622
fix: validate tool module imports in load_agent_from_repository to prevent RCE
...
Add an allowlist of trusted module prefixes (crewai_tools., crewai.tools.) and
a BaseTool subclass check before dynamically importing and instantiating tool
classes from the repository API response.
Previously, tool['module'] and tool['name'] from the API were passed directly
to importlib.import_module() and getattr() without any validation, allowing
a compromised or MITM'd API to import arbitrary Python modules (e.g.
subprocess.Popen) and achieve Remote Code Execution.
Fixes #5446
Co-Authored-By: João <joao@crewai.com >
2026-04-14 07:33:22 +00:00
..
2026-04-02 04:46:07 +08:00
2026-04-14 00:51:11 +08:00
2026-04-11 02:35:00 +08:00
2026-04-12 16:00:46 +08:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-04-10 00:22:27 -04:00
2025-12-05 13:23:26 -05:00
2026-04-08 21:02:25 +08:00
2026-03-31 08:11:21 +08:00
2026-04-12 16:00:46 +08:00
2026-03-10 14:00:40 -04:00
2026-04-11 02:01:23 +08:00
2025-11-29 16:55:24 -05:00
2025-11-05 07:19:09 -05:00
2026-04-07 03:22:30 +08:00
2025-10-20 14:10:19 -07:00
2026-03-24 19:03:35 +08:00
2026-02-13 21:34:37 -03:00
2025-12-04 13:34:29 -08:00
2026-03-02 07:42:55 -05:00
2026-04-09 04:29:53 +08:00
2026-04-01 14:17:57 -03:00
2026-04-14 07:33:22 +00:00
2025-10-20 14:10:19 -07:00
2026-03-15 18:33:17 -07:00
2026-04-01 03:48:41 +08:00
2026-03-20 15:18:50 -04:00
2026-04-10 21:24:49 +08:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2026-04-07 03:59:40 -03:00
2025-12-01 18:56:56 -05:00
2026-04-07 03:22:30 +08:00
2026-02-16 18:41:03 -03:00
2025-10-20 14:10:19 -07:00
2026-02-04 15:40:22 -05:00
2026-01-23 15:13:25 -05:00
2026-01-20 21:44:45 -08:00
2025-10-20 14:10:19 -07:00
2026-03-25 03:42:39 -03:00
2025-11-24 17:35:12 -05:00
2026-03-09 09:38:35 -04:00
2025-10-20 14:10:19 -07:00
2026-03-26 03:28:17 -03:00
2026-03-26 03:28:17 -03:00
2025-10-20 14:10:19 -07:00
2026-04-10 00:22:27 -04:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2026-03-31 07:07:11 +08:00
2025-11-29 16:55:24 -05:00
2026-04-08 23:32:37 +08:00
2026-02-03 09:06:48 -05:00
2026-02-25 17:13:34 -05:00
2026-04-01 18:08:37 -03:00