CVE-2026-130859 Habitat through 1.7.1 IDOR via Post Creation Attachment IDs
MediumCVSS 5.3
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| carlnewton/habitat | <= 1.7.1 | after 1.7.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| carlnewton/habitat | <= 1.7.1 | No fix listed |
References
- github.com issue-tracking
- github.com technical-description
- github.com technical-description
- VulnCheck Advisory: Habitat through 1.7.1 IDOR via Post Creation Attachment IDs third-party-advisory
- ENISA EUVD EUVD-2026-127242 third-party-advisory