Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. strands-agents
  4. ›
  5. GHSA-3w55-933p-8pv5

GHSA-3w55-933p-8pv5: Strands Agents: Local Privilege Escalation via Symlink Attack in Default Session File Storage

October 27, 2026

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.

References

  • github.com/advisories/GHSA-3w55-933p-8pv5
  • github.com/strands-agents/harness-sdk/commit/8658b9e0d57427b77b69343262184d76d8e63e8f
  • github.com/strands-agents/harness-sdk/pull/2937
  • github.com/strands-agents/harness-sdk/releases/tag/python/v1.48.0
  • github.com/strands-agents/harness-sdk/security/advisories/GHSA-3w55-933p-8pv5

Code Behaviors & Features

Detect and mitigate GHSA-3w55-933p-8pv5 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.48.0

Fixed versions

  • 1.48.0

Solution

Upgrade to version 1.48.0 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

pypi/strands-agents/GHSA-3w55-933p-8pv5.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:59 +0000.