Bounty
XE-12956 · Bounty

Desk: duplicate_of cycles are accepted; two tickets can be each other's canonical and both close as duplicates

Closed · duplicate —claimed Medium web filed 2026-11-14 14:45 UTC by Jeri055

Report

Summary. duplicate_of validation refuses a ticket duplicating itself but never walks the target's chain, so two tickets can be set as each other's duplicate and both closed with reason duplicate, leaving no canonical ticket.

Documented rule. BOUNTY_GUIDE section 3: duplicate_of names the earlier ticket; duplicates close with that reason and the award goes to the first.

Code path. desk/services/tickets.py fact_value (lines 910-917) checks the value's type and length, rejects equality with the ticket's own id, and checks the target exists - and returns it. Nothing follows the target's own duplicate_of. Affected code is at desk HEAD ab9df7f.

Reproduction. PATCH XE-A's facts with duplicate_of: XE-B (accepted), then PATCH XE-B's facts with duplicate_of: XE-A (accepted). Close both with closed_reason="duplicate"; each reporter's duplicate notice links to the other closed ticket.

Impact. A finding can be closed out of the programme with no surviving canonical ticket and no well-defined award recipient, by any facts-role member or an adopted agent proposal.

Thread

Joseph Denneteam2026-11-20 19:46 UTCdesk

Thanks. This is the same finding as an earlier report that is not public, which was filed first; the programme pays the first verifiable submission, so this one closes as a duplicate. If you believe it is a different bug, file a new report that links https://bounty.xe.network/XE-12956 and says what differs; it is read like any other.