Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
7DescriptionCVE.org
A critical security vulnerability in parisneo/lollms versions up to 2.2.0 allows any authenticated user to accept or reject friend requests belonging to other users. The respond_request() function in backend/routers/friends.py does not implement proper authorization checks, enabling Insecure Direct Object Reference (IDOR) attacks. Specifically, the /api/friends/requests/{friendship_id} endpoint fails to verify whether the authenticated user is part of the friendship or the intended recipient of the request. This vulnerability can lead to unauthorized access, privacy violations, and potential social engineering attacks. The issue has been addressed in version 2.2.0.
AnalysisAI
Authenticated users in parisneo/lollms (versions before 2.2.0) can hijack friend requests intended for other users through an Insecure Direct Object Reference (IDOR) flaw in the /api/friends/requests/{friendship_id} endpoint. The vulnerability enables any logged-in user to accept or reject friendship requests by manipulating the friendship_id parameter without authorization checks, leading to unauthorized social graph manipulation and potential account compromise via social engineering. Fixed in version 2.2.0 with commit c462977; no public exploit identified at time of analysis, though the attack is trivially reproducible with standard HTTP tools given the low complexity (CVSS AC:L) and authenticated network access (CVSS AV:N/PR:L).
Technical ContextAI
The vulnerability stems from CWE-863 (Incorrect Authorization) in the respond_request() function within backend/routers/friends.py of the lollms application framework. The affected endpoint implements a RESTful API pattern where friendship IDs are passed as path parameters (/api/friends/requests/{friendship_id}), but the backend logic fails to validate whether the authenticated session belongs to a participant in that friendship relationship. This represents a classic IDOR pattern where predictable or enumerable object identifiers (friendship IDs) can be manipulated without ownership verification. The vulnerability allows horizontal privilege escalation, as authenticated users can modify resources belonging to peer users at the same privilege level. The fix in commit c462977 likely introduces server-side authorization logic to verify the requesting user's identity matches either the friendship initiator or recipient before allowing state changes to the request object.
RemediationAI
Upgrade to lollms version 2.2.0 or later, which includes the authorization fix implemented in commit c46297799f8e1e23305373f8350746b905e0e83c available at https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c. The patch introduces proper authorization checks in the respond_request() function to validate that the authenticated user is either the initiator or recipient of the friendship request before allowing state changes. For organizations unable to immediately upgrade, interim mitigations include disabling the friends/social features if not operationally required, implementing API gateway-level authorization policies to restrict access to the /api/friends/requests/ endpoints based on user context, or deploying Web Application Firewall (WAF) rules to detect sequential friendship ID enumeration attempts. Review application logs for suspicious patterns such as single users accessing large numbers of friendship request IDs in short timeframes, which may indicate active exploitation attempts. Full remediation details are available in the HunTR disclosure at https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf.
A path traversal vulnerability exists in the `install` and `uninstall` API endpoints of parisneo/lollms-webui version V1
Unauthenticated file upload in parisneo/lollms versions ≤2.2.0 enables remote attackers to submit arbitrary files for te
A remote code execution (RCE) vulnerability exists in the '/install_extension' endpoint of the parisneo/lollms-webui app
A path traversal vulnerability exists in the parisneo/lollms application, specifically within the `sanitize_path_from_en
A path traversal vulnerability exists in the 'cyber_security/codeguard' native personality of the parisneo/lollms-webui,
A path traversal and arbitrary file upload vulnerability exists in the parisneo/lollms-webui application, specifically w
parisneo/lollms-webui is vulnerable to path traversal attacks that can lead to remote code execution due to insufficient
A vulnerability in the parisneo/lollms-webui version 9.3 allows attackers to bypass intended access restrictions and exe
A Server-Side Request Forgery (SSRF) vulnerability exists in the 'add_webpage' endpoint of the parisneo/lollms-webui app
A remote code execution (RCE) vulnerability exists in the parisneo/lollms-webui, specifically within the 'open_file' mod
A vulnerability in parisneo/lollms-webui versions up to 9.3 allows remote attackers to execute arbitrary code. Rated cri
A path traversal vulnerability in the '/apply_settings' endpoint of parisneo/lollms-webui allows attackers to execute ar
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-17039