{"data":{"id":"826ab594-b05a-4f73-bb9a-70e388fcb36a","title":"GHSA-3w55-933p-8pv5: Strands Agents: Local Privilege Escalation via Symlink Attack in Default Session File Storage","summary":"The default FileSessionManager in Strands Agents stores session data in the world-writable /tmp/strands/sessions/ directory. Its write routine (open(path + \".tmp\", \"w\") followed by os.replace()) follows symbolic links, so a local attacker can redirect writes to arbitrary files, such as shell configs or SSH keys, or inject crafted session data that the agent later loads without integrity checks.","solution":"The source suggests: use a user-private default directory such as ~/.strands/sessions/ or $XDG_DATA_HOME/strands/sessions/; open files with os.open() using O_NOFOLLOW | O_CREAT | O_WRONLY; use tempfile.mkstemp() for atomic writes; verify directory ownership matches the current user before writing; and add optional HMAC integrity verification on session files.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-3w55-933p-8pv5","publishedAt":"2026-10-27T15:34:33.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["strands-agents@< 1.48.0 (fixed: 1.48.0)"],"affectedPackageNames":["strands-agents"],"affectedPackageRefs":["pypi:strands-agents"],"affectedVendors":[],"affectedVendorsRaw":["Strands Agents"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-3w55-933p-8pv5"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-10-27T15:34:33.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null}}