Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as email-verified user
-
ExploitEnumerate sequential attachmentIds
-
ExecutionAttach victim's pending image to own post
-
ImpactExpose image publicly and strip it from uploader
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires an authenticated account on the target Habitat instance that has completed email verification (PR:L). The attacker exploits the flaw by submitting another user's attachmentId in the post-creation request handled by CreatePostController::addAttachmentsToPost(), which fails to check attachment ownership. Exploitation is practical because attachmentIds are sequential and therefore guessable/enumerable, and the targeted image must currently be in a pending/unposted state belonging to another user. Limiting factors: no anonymous access (email verification required), impact confined to a single victim's pending upload per attempt, and a timing window in which the victim's image is uploaded but not yet posted. |
| Impact | This is a genuine but modest-severity access-control flaw, not a high-urgency emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N, score 5.3 Medium) is internally consistent with the description: network-reachable, low complexity, requires a low-privilege (email-verified, PR:L) account, no user interaction, and only low confidentiality and integrity impact with no availability impact. The vuln.today decision label is 'this_month' (routine remediation), which aligns with the mid-range score. No EPSS probability was provided, the CVE is NOT on CISA KEV, and no public exploit code was identified - so there is no evidence of active or automatable mass exploitation. The limiting factor is meaningful: an attacker needs a valid authenticated, email-verified account on the specific Habitat instance, and the impact is scoped to hijacking a victim's single unposted image. Signals are consistent rather than conflicting; the main gap is the absence of EPSS/KEV/POC data, which (as absence, not error) points toward low real-world exploitation pressure. Net: a real authorization bug worth patching on a normal cycle, not a drop-everything priority. |
| Exploit ScenarioDerived | An authenticated, email-verified attacker begins creating a post and submits sequential attachmentIds that belong to another user's not-yet-posted image upload. Because CreatePostController::addAttachmentsToPost() does not verify that the attachment belongs to the requester, the victim's pending image is attached to the attacker's post, exposed publicly, and removed from the legitimate uploader's post. No public exploit code was identified; the vulnerable logic is documented in the VulnCheck advisory and the linked source lines. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
An insecure direct object reference in Habitat through 1.7.1 lets authenticated, email-verified users seize other users' pending image uploads by supplying someone else's attachmentId during post creation, which both publishes the victim's unpublished image and strips it from their draft post. Because attachment IDs are sequential and guessable, enumeration is practical, though each attempt affects only a single victim's unposted upload and requires the victim's image to be in a pending state. No public exploit has been identified at time of analysis and there is no KEV listing; the flaw is a genuine but modest-severity access-control weakness (CVSS 3.1 5.3, AV:N/AC:L/PR:L/UI:N/C:L/I:L/A:N).
RemediationAI
No vendor-released patch or fixed version is identified at time of analysis: the supplied references point to the vulnerable 1.7.1 source and an upstream GitHub issue (#164), not to a patched release, and no vendor advisory mitigation is described. Where the code can be changed, the effective fix is to scope the attachment lookup in PostAttachmentRepository (lines 24-35) to the acting user and to reject any attachmentId in CreatePostController::addAttachmentsToPost() (lines 143-168) that is not owned by the requester and still pending; because the identifiers are sequential, ownership must be enforced server-side rather than inferred from possession of an ID. Until such a change is deployed, the practical compensating controls are to restrict or moderate who can create posts and upload attachments on the instance (trade-off: reduced self-service for new or untrusted registrations), to gate registration behind manual approval or stronger vetting in place of email verification alone (trade-off: administrative overhead and slower onboarding), and to rate-limit or log post-creation requests carrying attachment IDs so that sequential enumeration stands out in monitoring (trade-off: detection only, not prevention, and the owner check remains absent).
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Habitat is a PHP web application (carlnewton/habitat, CPE cpe:2.3:a:carlnewton:habitat) whose post-creation flow separates image upload from post publication: uploaded images are persisted as pending post attachments and later bound to a post. The vulnerable path spans src/Repository/PostAttachmentRepository.php (lines 24-35), where an attachment is fetched by its identifier, and src/Controller/Post/CreatePostController.php (lines 143-168), where addAttachmentsToPost() binds the supplied attachment IDs to the new post. That lookup is keyed solely on the user-controlled attachment ID rather than being scoped to the session owner, which is the classic CWE-639 Authorization Bypass Through User-Controlled Key pattern; the identifiers are auto-incremented, so an attacker can walk sequential values. The trigger is the submission of another user's attachmentId in the post-creation request; the referenced source lines and the upstream GitHub issue #164 are the only technical evidence supplied, and no additional exploitation mechanics are described in the available sources.
Know when Habitat gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network REST action needing a logged-in email-verified account (PR:L), no user interaction; low confidentiality and integrity impact from exposing and reassigning one pending image, no availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-127242
GHSA-2955-456r-p77r
NVD
CVE.org
EPSS
Exploit-DB