{"vuln_id":"CVE-2026-130859","aliases":[],"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.","published_at":"2026-11-17T20:17:51.717000Z","modified_at":"2026-11-17T23:17:54.143000Z","first_seen_at":"2026-11-21T19:15:49.608909Z","severity":"medium","severity_source":"nvd","cvss_score":5.3,"cvss_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","cwe":["CWE-639"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00284,"epss_percentile":0.21246,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-130859"},"matched_alias":null,"items":[{"id":6670,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-130859: Habitat through 1.7.1 contains an insecure direct object reference vulnerability in CreatePostController::addAttachmentsToPost() that allows authenticated user…","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.\n\nReferences:\nhttps://github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostController.php#L143-L168\nhttps://github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepository.php#L24-L35\nhttps://github.com/carlnewton/habitat/issues/164\nhttps://www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attachment-ids","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130859","published_at":"2026-11-17T20:17:51.717000Z","updated_at":"2026-11-17T23:17:54.143000Z","fetched_at":"2026-11-21T19:15:31.482469Z","severity":"medium","cvss_score":5.3,"epss":0.00284,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":null,"vuln_id":"CVE-2026-130859","vuln_ids":["CVE-2026-130859"],"tags":["CWE-639"],"cluster_id":7317,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/6670","html":"https://vulnwatch.ve1ve2.com/item/6670"}}]}