## Strands Agents: Local Privilege Escalation via Symlink Attack in Default Session File Storage

- 種別: advisory
- 重大度: high
- 関連技術: python
- 公開日時: 2026-10-27T15:34:33.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-3w55-933p-8pv5)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-3w55-933p-8pv5

影響: pip:strands-agents < 1.48.0 → 1.48.0
The FileSessionManager defaults to storing session data in /tmp/strands/sessions/ (a world-writable directory) using predictable file paths and a write pattern (open(path + ".tmp", "w") → os.replace()) that follows symbolic links. A local attacker can exploit this to overwrite arbitrary files or inject malicious session data for persistent prompt injection. Vulnerability Details Component: strands-py/src/strands/session/file_session_manager.py Root Cause: 1. Default storage directory is tempfil…