T05 · Unauthorized Access and Privilege Escalation
- Location
hooks/openclaw/handler.js:213- Finding
Unrestricted Transcript Path Can Read Files Outside the Workspace
- Content
View full analysis
/sessions`. The fallback path is also unsafe because `sessionId` is not restricted to a safe identifier format. Values containing `..` or path separators can cause `path.join()` to resolve outside the intended sessions directory. The vulnerability requires an attacker or compromised component to influence OpenClaw hook event metadata. Under ...[truncated 1591 chars]- Remediation
View remediation
