{"id":"CVE-2026-130859","published":"2026-11-17T19:47:34Z","modified":"2026-11-17T22:24:13Z","title":"Habitat through 1.7.1 IDOR via Post Creation Attachment IDs","vendor":"carlnewton","product":"Habitat","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00284,"percentile":0.21445,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/carlnewton/habitat/issues/164","tags":["issue-tracking"]},{"url":"https://github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepository.php#L24-L35","tags":["technical-description"]},{"url":"https://github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostController.php#L143-L168","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attachment-ids","tags":["third-party-advisory"]}],"priority":{"score":8.1,"factors":[{"name":"EPSS percentile","points":4.29},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"carlnewton","affectedVersions":[{"vendor":"carlnewton","product":"Habitat","versions":["<= 1.7.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-17T22:16:39.109659Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-127242","exploited":false,"provenance":"source"}}