AploSec / Disclosures / CVE-2026-142267
Consul Democracy through 2.6.1 Missing Authorization via DirectUploadsController Image Deletion
CVE-2026-142267 · published 2026-12-02
In plain words: this type of bug lets a user see or change things that belong to someone else (broken access control). No fixed release is listed yet.
Summary
CVE-2026-142267 affects Consul Democracy (Server) <= 2.6.1: Missing Authorization via DirectUploadsController Image Deletion (CWE-639). No fixed release is listed. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/consul-democracy-through-2.6.1-missing-authorization-via-directuploadscontroller-image-deletion
- Vulnerable codehttps://github.com/consuldemocracy/consuldemocracy/blob/2.6.1/app/models/direct_upload.rb#L14-L37
- Vulnerable codehttps://github.com/consuldemocracy/consuldemocracy/blob/2.6.1/app/controllers/direct_uploads_controller.rb#L1-L16
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142267
- Severity
- Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Consul Democracy
- Ecosystem
- Server
- Affected
- <= 2.6.1
- Fixed
- None
- Weakness
- CWE-639
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder