GHSA-6q75-gf53-f9gjMediumCVSS 4.3
Consul Democracy through 2.6.1 contains a missing authorization vulnerability in...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142267
- 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
- https://github.com/advisories/GHSA-6q75-gf53-f9gj