Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Medium severity, with a CVSS score of 4, published 27 October 2026.
- Which products and versions are affected?
- strands-agents (PyPI) < 1.48.0, ECOSYSTEM:introduced=0,fixed=1.48.0; Strands Agents up to dd7b41de38cb; Strands-Agents before 1.48.0.
- Is there a fix for This vulnerability?
- Yes. strands-agents (PyPI): upgrade to 1.48.0 or later. Until then: Until upgrading, explicitly set storage_dir to a user-private location when initializing FileSessionManager, or configure the process to run with umask 077 to restrict file creation to owner-only access. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked with local access, in a software library.
- Am I affected?
- Check whether you run strands-agents (PyPI), Strands Agents or Strands-Agents at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- strands-agents (PyPI): upgrade to 1.48.0 or later
pip install "strands-agents>=1.48.0"
Until upgrading, explicitly set storage_dir to a user-private location when initializing FileSessionManager, or configure the process to run with umask 077 to restrict file creation to owner-only access.
Technical details
The vulnerability stems from CWE-276 (incorrect default permissions): FileSessionManager creates session directories and JSON files using the process umask without explicitly setting restrictive permissions. On systems with umask 022, this results in world-readable session files (0644) and traversable directories (0755) in /tmp/strands/sessions. An unprivileged local user can read all persisted agent sessions, including conversation history, secrets, and intermediate state. This is a local information disclosure with no authentication required and is fixed in version 1.48.0.
Affected products
- Strands strands-agents before 1.48.0
Timeline
- 2026-10-27: disclosed