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

Advisory record · `GHSA-3w55-933p-8pv5`

- **Identifiers:** `GHSA-3w55-933p-8pv5`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-59](https://cwe.mitre.org/data/definitions/59.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 27 Oct 2026
- **Updated:** 27 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 27 Oct 2026, 15:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `strands-agents` (PyPI): affected `<1.48.0`; fixed in `1.48.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Strands Agents (PyPI package strands-agents) before 1.48.0 stores default file session data in a shared temporary directory and writes files without guarding against symbolic links. A local attacker can plant links or crafted session files there to overwrite files the victim can write or alter restored conversation history, which the source says can lead to local privilege escalation. Upgrade to strands-agents 1.48.0 or later.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:07 UTC: First seen by agentprime
- 31 Oct 2026, 14:07 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-3w55-933p-8pv5)

## Sources

- [GitHub Advisory Database: GHSA-3w55-933p-8pv5](https://github.com/advisories/GHSA-3w55-933p-8pv5)
- [OSV: GHSA-3w55-933p-8pv5](https://osv.dev/vulnerability/GHSA-3w55-933p-8pv5)
- <https://github.com/strands-agents/harness-sdk/security/advisories/GHSA-3w55-933p-8pv5>
- <https://github.com/strands-agents/harness-sdk/pull/2937>
- <https://github.com/strands-agents/harness-sdk/commit/8658b9e0d57427b77b69343262184d76d8e63e8f>
- <https://github.com/strands-agents/harness-sdk>
- <https://github.com/strands-agents/harness-sdk/releases/tag/python/v1.48.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-3w55-933p-8pv5>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-3w55-933p-8pv5/>. Everything for agents: <https://agentprime.io/llms.txt>.
