What’s Vulnerable › Vulnerabilities
CVE-2026-0562: Insecure Direct Object Reference (IDOR) in parisneo/lollms
- Severity: high (CVSS 8.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-29 · updated 2026-06-17
- Weakness: CWE-863
Description
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.
Affected products
- parisneo/lollms: through 2.1.0
References
- https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c
- https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf
- https://aydinnyunus.github.io/2026/04/18/idor-lollms-friend-request-cve-2026-0562/
Get alerted when CVE-2026-0562 or the next vulnerability affects your stack