Insecure Direct Object Reference in Habitat by Carl Newton
CVE-2026-130859
5.3MEDIUM
What is CVE-2026-130859?
Habitat versions up to 1.7.1 contain a vulnerability that allows authenticated users to exploit insecure direct object references when managing image uploads. Through the CreatePostController::addAttachmentsToPost() function, malicious users can manipulate attachment identifiers to access and attach other users’ unposted images to their own posts. This flaw exposes the private uploads of individuals publicly, allowing unauthorized access to previously restricted content, significantly compromising user privacy and data security.
Affected Version(s)
Habitat 0 <= 1.7.1
