CVE-2026-130859
Habitat through 1.7.1 IDOR via Post Creation Attachment IDs
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-639 |
| Vendor | carlnewton |
| Product | habitat |
| Published | Nov 17, 2026 |
| Last Updated | Nov 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for carlnewton habitat
Be the first to know when new medium vulnerabilities affecting carlnewton habitat are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
carlnewton / Habitat
0 โค 1.7.1
References
github.com: https://github.com/carlnewton/habitat/issues/164 github.com: https://github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepository.php#L24-L35 github.com: https://github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostController.php#L143-L168 vulncheck.com: https://www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attachment-ids
Credits
George Chen