CVE-2026-142267
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
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
CWEs
CWE-639
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.