CVE-2026-130859
published medium CVSS 4.0 · 5.3Habitat through 1.7.1 IDOR via Post Creation Attachment IDs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| carlnewton | — | Habitat0 through 1.7.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.4 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| carlnewton | Habitat | 0 through 1.7.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-639 Authorization Bypass Through User-Controlled Key
References
4- https://github.com/carlnewton/habitat/blob/1.7.1/src/Controller/Post/CreatePostController.php#L143-L168
- https://github.com/carlnewton/habitat/blob/1.7.1/src/Repository/PostAttachmentRepository.php#L24-L35
- https://github.com/carlnewton/habitat/issues/164
- VulnCheck Advisory: Habitat through 1.7.1 IDOR via Post Creation Attachment IDs https://www.vulncheck.com/advisories/habitat-through-1.7.1-idor-via-post-creation-attachment-ids
Provider assertions
2VulnCheck · cna
Habitat through 1.7.1 IDOR via Post Creation Attachment IDs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d4e261d3ef573333c833ef3bd3da72b7ebeb5a7ce8a4afb682886c6c96f64036
- Ingested
- 17 Nov 2026, 22:26:40 UTC
- Source record
- Official CVE record