Case · DiggingBeagle record

ARTEX asset-query OR expressions could escape mandatory per-task filters

The advisory derives the failure from QueryDSLInScope and related query functions during source review.

Published by DiggingBeagle:

Scope

BaaRai/ARTEX open-source continuation fork, not automatically the earlier original ARTEX operator distribution through v0.6.0; task agent invokes asset listing with a compound OR expression.

Assessment profile

Assessment method
Setting
research demonstration
Exploitation
not established
Evidence
Grade B
Remediation
patch available
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

    Enter an OR filter through list_assets

    A task agent submits a compound asset query using the DSL accepted by the BaaRai ARTEX asset-listing tool.

    Boundary: Model or caller supplied filter into structured query

  2. 02

    Append task scope without parentheses

    QueryDSLInScope appends an AND task predicate to the ungrouped OR clauses; the database evaluates AND before the leading OR branch.

    Boundary: Untrusted query expression changes the meaning of mandatory authorization

  3. 03

    Return a potentially out-of-task match

    The first OR branch can match assets outside the assigned task despite the textual presence of a scope condition. This route was identified by source inspection, not a live cross-task read.

    Boundary: SQL result selection outside intended task isolation

Claims & evidence

CLM-2026-NOV22-ARTEX-ASSET-OR-SCOPE-SCOPEThe advisory derives the failure from QueryDSLInScope and related query functions during source review. It explicitly says no vulnerable deployment was tested, so cross-task data disclosure remains a code-supported possibility rather than a documented production read.supported

Basis: reported finding

Link to claim
CLM-2026-NOV22-ARTEX-ASSET-OR-SCOPE-MECHANISMThe agent-accessible asset DSL joined untrusted OR expressions without enclosing parentheses and then appended a mandatory task_scope predicate using AND. Standard SQL gives AND higher precedence than OR, allowing an earlier OR branch to select records outside the task even though the final query text visibly contains a task filter.supported

Basis: reported finding

Link to claim

Implications

The authorizing condition must be applied to the complete expression as executed by the database, not merely appended as readable text. The advisory is a code-review finding in the continuation fork, so no production disclosure, victim count or original ARTEX campaign link follows from it.

Controls and mitigations

  • parenthesize the user expression before appending scope checks and test nested OR/AND combinations against cross-task fixtures

Unknowns and contradictions

  • The absence of a field demonstration must be preserved. A correct SQL clause is not a security guard when it is composed without explicit operator grouping.

Sources and citation

Material revision history

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