CVE-2026-130859

Source
https://cve.org/CVERecord?id=CVE-2026-130859
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130859.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-130859
Published
2026-11-17T19:47:34Z
Modified
2026-11-17T21:45:45Z
Severity
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Habitat through 1.7.1 IDOR via Post Creation Attachment IDs
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-639"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130859.json"
}
References

Affected packages

Git / github.com/carlnewton/habitat

Affected ranges

Type
GIT
Repo
https://github.com/carlnewton/habitat
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "1.7.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.1.0
1.2.0
1.3.0
1.4.0
1.5.0
1.6.0
1.7.0
1.7.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130859.json"