CVE-2026-130859
Habitat through 1.7.1 contains an insecure direct object reference vulnerability in CreatePostController::addAttachmentsToPost() that allows authenticated user…
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Produkte · Carlnewton
| Produkt | Betroffene Versionen |
|---|---|
| Habitat | bis einschließlich 1.7.1 Version 0 ≤1.7.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/carlnewton/habitat/issues/164
- https://github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepository.php#L24-L35
- https://github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostController.php#L143-L168
- https://www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attachment-ids
- https://github.com/advisories/GHSA-2955-456r-p77r
- https://nvd.nist.gov/vuln/detail/CVE-2026-130859