Vulnerability

CVE-2026-130859

mediumCVSS 4.0 5.3Published 17 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePo…
  • github.com /carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmen…
  • github.com /carlnewton/habitat/issues/164
  • www.vulncheck.com /advisories/habitat-through-1.7.1-idor-via-post-creation-at…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning