What happened
A Jan agent session writes payload content to an in-workspace symlink, creating the specified file outside the workspace.
2026-10-29
MediumVendor postJan disclosed an agent-session demonstration where a workspace write followed a dangling symlink to an outside file, fixed in version 0.8.8.
What happened
A Jan agent session writes payload content to an in-workspace symlink, creating the specified file outside the workspace.
Why it matters
The advisory describes creation of an outside-workspace file in the host context. Potential arbitrary code execution is an impact assessment, not a demonstrated downstream compromise.
Missing authorization check
Destination-bound authorization using resolved filesystem identity at the actual write, with race-resistant handling of links.
Would PP block it?
Authority could bind the canonical target, write operation and payload rather than a lexical workspace filename. A gate relying on the same flawed canonicalization would not stop this path. Permission Protocol was not evaluated by the advisory and does not replace the vendor patch.
Incident analysis
2026-10-29
Jan publishes GHSA-7j4g-mj5j-p842 describing the agent write/edit workspace guard bypass and version 0.8.8 fix.
Authorization boundary
This incident is categorized as Tool execution / MCP. The relevant Permission Protocol gate is Tool-Call Gate. The read is conditional: the block only applies where the real action boundary is routed through a gate.
An external gate could constrain writes to the actual approved destination only if the sink resolves paths correctly and completely mediates effects.
Related incidents and controls
Start small
This incident maps to Tool-Call Gate. Start with the boundary that controls the actual action, then require a signed receipt before execution.