MEDIUM 5.3 NVD
CVE-2026-130859
Habitat through 1.7.1 contains an insecure direct object reference vulnerability in CreatePostController::addAttachmentsToPost() that allows authenticated users
Habitat through 1.7.1 contains an insecure direct object reference vulnerability in CreatePostController::addAttachmentsToPost() that allows authenticated users to claim other users' unposted image uploads. Email-verified attackers can submit sequential attachmentIds when creating a post to attach another user's pending image, exposing it publicly and removing it from the uploader's post.
References
- https://github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostController.
- https://github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepository.p
- https://github.com/carlnewton/habitat/issues/164
- https://www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attachme
This medium severity vulnerability with a CVSS score of 5.3 was published on 2026-11-17 via NVD.
vulnfeed aggregates 21154 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.