Case · 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:

Scope

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.

At a glance

Mechanism and trust boundary

  1. 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

  2. 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

  3. 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

Link to claim
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

Link to claim

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

  1. Nov 22, 2026 · Published version · first publication · revision 275