{"id":"CVE-2026-130859","aliases":[],"title":"Habitat through 1.7.1 IDOR via Post Creation Attachment IDs","originalDescription":"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.","severity":{"cvss":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00284,"percentile":0.22425},"exploitDb":null},"affected":[],"references":[{"url":"https://github.com/carlnewton/habitat/issues/164","type":"issue-tracking"},{"url":"https://github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepository.php#L24-L35","type":"technical-description"},{"url":"https://github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostController.php#L143-L168","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attachment-ids","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130859.json","type":"advisory"},{"url":"https://github.com/carlnewton/habitat","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130859","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-24T21:14:05.911Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130859","license":"NVD terms of use","firstSeenAt":"2026-11-17T20:42:38.556Z"},{"name":"osv","at":"2026-11-18T21:27:40.717Z","url":"https://osv.dev/vulnerability/CVE-2026-130859","license":"CC-BY 4.0","firstSeenAt":"2026-11-17T21:49:00.101Z"},{"name":"cvelistV5","at":"2026-11-19T21:46:53.039Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-130859","license":"CVE Terms of Use","firstSeenAt":"2026-11-17T20:07:01.712Z"}],"firstSeenAt":"2026-11-17T20:07:01.712Z","publishedAt":"2026-11-17T19:47:34.941Z","modifiedAt":"2026-11-24T20:48:26.733Z"}