CVE-2026-142267: Consul Democracy through 2.6.1 Missing Authorization via DirectUploadsController Image Deletion
Consul Democracy through 2.6.1 contains a missing authorization vulnerability in DirectUploadsController#create that allows authenticated users to delete images attached to other users' records by supplying arbitrary resourcetype and resourceid parameters. Attackers can send direct upload requests naming proposals, budget investments, polls, or homepage cards by sequential id, causing buildimage to destroy the existing associated image.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated user can exploit it. The attacker does not need to own or have authorization over the targeted record.
What records can be targeted?
The affected direct-upload flow can be used to target proposals, budget investments, polls, and homepage cards. An attacker supplies the resource_type and resource_id parameters, and sequential IDs make records easier to enumerate.
What is the practical impact?
An attacker can cause the existing image associated with another user's targeted record to be destroyed. The available data indicates an integrity impact only; it does not indicate disclosure of data or service disruption.
How can we determine whether an instance is affected?
Instances running Consul Democracy through version 2.6.1 are affected according to the advisory. Review direct-upload requests and application logs for authenticated users submitting resource_type and resource_id values for records they do not own.