{"id":"CVE-2026-130859","aliases":["CVE-2026-130859"],"related":[],"kind":"vulnerability","state":"published","title":"Habitat through 1.7.1 IDOR via Post Creation Attachment IDs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-17T19:47:34.941Z","modified":"2026-11-24T20:48:26.733Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.7.1","status":"affected"}],"vendor":"carlnewton","product":"Habitat","repo":"https://github.com/carlnewton/habitat","source":"cvelist"}],"references":[{"url":"https://github.com/carlnewton/habitat/issues/164","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepository.php#L24-L35","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostController.php#L143-L168","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attachment-ids","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-17T22:16:39.109Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-130859","url":"https://www.cve.org/CVERecord?id=CVE-2026-130859","licence":"CVE Terms of Use","modified":"2026-11-17T22:24:13.354Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-130859","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130859","licence":"Public domain","modified":"2026-11-24T20:48:26.733Z"}],"updatedAt":"2026-11-25T22:59:51.061Z","epss":{"score":0.00284,"percentile":0.22509,"date":"2026-12-01T12:00:22.000Z"}}