Auth bypass in Carlnewton Habitat
CVE-2026-130859
- CVSS v3
- 5.4 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 23.5th percentile
- Published
- 2026-11-17
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.
Vulnerability class: IDOR (Insecure Direct Object Reference)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 23.5th percentile (last changed ). About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/carlnewton/habitat/issues/164 (issue-tracking)
- github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepositor… (technical-description)
- github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostControll… (technical-description)
- www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attac… (third-party-advisory)