| 제목 | Agno AGI Agno 2.7.3 CWE-88 Argument Injection |
|---|
| 설명 | An attacker who can influence a command string passed to CodingTools.run_shell() -- by calling the library directly, or through an agent whose toolset registers run_shell -- escapes the restrict_to_base_dir sandbox and writes arbitrary files (and executes arbitrary commands) with the privileges of the agno process. CodingTools._check_command() runs every command with subprocess.run(..., shell=True) after a token-level safety check that unconditionally skips every flag token (if token.startswith("-"): continue), so an allowlisted interpreter such as python combined with the skipped -c flag carries an out-of-base write that is not caught by the path-boundary check.
Affected: agno <= 3.0.6. Patched versions: None.
Reported to the vendor: https://github.com/agno-agi/agno/issues/10050. |
|---|
| 원천 | ⚠️ https://github.com/ybyu-ieu/agno-security-advisories/blob/main/advisories/agno-codingtools-run-shell-argument-injection-base-dir-escape.md |
|---|
| 사용자 | Ybyu (UID 101038) |
|---|
| 제출 | 2026. 09. 08. AM 10:12 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 10. 11. PM 12:41 (1 month later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 416594 [agno-agi agno 까지 3.0.9 CodingTools coding.py agno.CodingTools.run_shell command 권한 상승] |
|---|
| 포인트들 | 0 |
|---|