Description
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 resource_type and resource_id parameters. Attackers can send direct upload requests naming proposals, budget investments, polls, or homepage cards by sequential id, causing build_image to destroy the existing associated image.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| consuldemocracy | Consul Democracy | <= 2.6.1 |
References
- https://github.com/consuldemocracy/consuldemocracy/blob/2.6.1/app/controllers/direct_uploads_controller.rb#L1-L16
- https://github.com/consuldemocracy/consuldemocracy/blob/2.6.1/app/models/direct_upload.rb#L14-L37
- https://www.vulncheck.com/advisories/consul-democracy-through-2.6.1-missing-authorization-via-directuploadscontroller-image-deletion
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Received