A Qwen-Agent storage tool used model-provided keys in local filesystem operations without reliably constraining the resolved target to the configured storage root. A key containing parent-directory sequences could cause put/get or scan actions to reach a path outside the agent storage area. The issue reports a test that wrote a file outside the designated…
Inspect the ClaimsCase · DiggingBeagle record
Qwen-Agent storage keys could traverse above the configured storage directory
The issue reports a test that wrote a file outside the designated root and separate crashes for root/folder keys.
Published by DiggingBeagle:
Qwen-Agent local storage tool with a writable root and lower-trust or model-controlled storage key.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- AI role
- AGAINST AI
Basis and provenance
The cited primary source supports the stated mechanism and scoped outcome. Impact band remains unrated because no calibrated victim exposure or severity distribution is established by the cited evidence.
Assessed Nov 22, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-2026-NOV22-QWEN-AGENT-STORAGE-ROOT-MECHANISM · CLM-2026-NOV22-QWEN-AGENT-STORAGE-ROOT-SCOPE · Qwen-Agent issue #1086: storage key traversal and root-key handling faults
At a glance
A storage root is a security boundary only when checked after path resolution, including parent components and relevant symlinks. The issue demonstrates a tool-scope escape under a caller-provided key, not arbitrary remote execution or a documented production infection.
Read the implicationsThe report does not establish remotely exploitable behavior for arbitrary deployments; it requires a tool invocation with the unsafe key.
Limits and uncertaintyFull account
A Qwen-Agent storage tool used model-provided keys in local filesystem operations without reliably constraining the resolved target to the configured storage root. A key containing parent-directory sequences could cause put/get or scan actions to reach a path outside the agent storage area.
The issue reports a test that wrote a file outside the designated root and separate crashes for root/folder keys. Maintainer pull request #1087 was under review, so this is not proof of a released fix or a wide deployment compromise. The critical boundary is the agent's generated object key being treated as host filesystem authority without directory containment.
The documented repair is canonicalize the final path under the storage root, reject special root keys and regression-test symlinks and traversal. The report does not establish remotely exploitable behavior for arbitrary deployments; it requires a tool invocation with the unsafe key.
Mechanism and trust boundary
- 01
Issue a storage tool action
A model or other tool caller supplies a key to Qwen-Agent put/get/scan operations under a configured local storage directory.
Boundary: Model-controlled key expected to be a logical object name
- 02
Resolve parent-directory segments
The implementation joins the key to filesystem paths without reliably checking the canonicalized final path against the storage root.
Boundary: Logical storage key becomes host path traversal
- 03
Reach outside the intended directory
The issue includes a controlled write to an out-of-root path and separate crashes for special keys; patch #1087 had not yet been established as released.
Boundary: Local file containment and stability
Claims & evidence
CLM-2026-NOV22-QWEN-AGENT-STORAGE-ROOT-SCOPEThe issue reports a test that wrote a file outside the designated root and separate crashes for root/folder keys. Maintainer pull request #1087 was under review, so this is not proof of a released fix or a wide deployment compromise.supported
Basis: reported finding
- supportsQwen-Agent issue #1086: storage key traversal and root-key handling faultsprimary disclosure
Primary advisory or study: reproduction, results and limitations
CLM-2026-NOV22-QWEN-AGENT-STORAGE-ROOT-MECHANISMA Qwen-Agent storage tool used model-provided keys in local filesystem operations without reliably constraining the resolved target to the configured storage root. A key containing parent-directory sequences could cause put/get or scan actions to reach a path outside the agent storage area.supported
Basis: reported finding
- supportsQwen-Agent issue #1086: storage key traversal and root-key handling faultsprimary disclosure
Primary advisory or study: technical mechanism and affected component
- supportsQwen-Agent issue #1086: storage key traversal and root-key handling faultsprimary disclosure
Qwen-Agent issue #1086: put/get/scan traversal test, out-of-root file and special key crashes
Implications
A storage root is a security boundary only when checked after path resolution, including parent components and relevant symlinks. The issue demonstrates a tool-scope escape under a caller-provided key, not arbitrary remote execution or a documented production infection.
Controls and mitigations
- canonicalize the final path under the storage root, reject special root keys and regression-test symlinks and traversal
Unknowns and contradictions
- The report does not establish remotely exploitable behavior for arbitrary deployments; it requires a tool invocation with the unsafe key.
Sources and citation
Material revision history
- Nov 22, 2026 · Published version · first publication · revision 275