All vulnerabilities

PyPI

GHSA-763v-5pjm-fx36

Strands Agents: Default FileSessionManager storage is world-readable on shared systems

Severity
Medium
Published
27 Oct 2026
Last changed
27 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.48.0
Weakness
Incorrect default permissions (CWE-276)
Sources
OSV.dev and GitHub

Description

There is a local confidentiality issue in the default FileSessionManager storage behavior. By default it writes session data under /tmp/strands/sessions and relies on the process umask for directory and file permissions. On systems using the common umask 022, the session directories are 0755 and JSON files are 0644, so other local users can read persisted agent session data.

This matters on shared developer machines, CI hosts, notebooks, jump boxes, and multi-user GPU servers. Session storage is intended to persist conversation/history/state, so it can contain prompts, model output, tool inputs/outputs, intermediate state, and secrets that pass through the agent.

Relevant code:

  • strands-py/src/strands/session/file_session_manager.py:58: default storage path is os.path.join(tempfile.gettempdir(), "strands/sessions").
  • strands-py/src/strands/session/file_session_manager.py:118: creates parent directories without a private mode.
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
strands-agentsPyPI · osv:PyPI:strands-agents
  • Every version before 1.48.0

About strands-agents

Weekly downloads (PyPI)
9,148,188PyPI Stats, 24 Nov 2026

Vulnerabilities in strands-agents

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for strands-agents

References