CVE-2026-130859 Habitat through 1.7.1 IDOR via Post Creation Attachment IDs
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-130859?
CVE-2026-130859 is a medium-severity vulnerability in carlnewton Habitat, published on 17 Nov 2026.
Official 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.
Weakness: CWE-639
Which versions are affected by CVE-2026-130859?
1 open source package ship an affected version, including carlnewton/habitat.
| Package | Affected | Fixed in |
|---|---|---|
carlnewton/habitat GitHubpkg:github/carlnewton/habitat | All versions to 1.7.1 | None |
How do I fix CVE-2026-130859?
No fix has been published for CVE-2026-130859 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-130859 being exploited?
There is no known exploitation of CVE-2026-130859 in the wild and no public exploit code.
Sources
Also known as GHSA-2955-456r-p77r.