CVE-2026-0562: Insecure Direct Object Reference (IDOR) in parisneo/lollms
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 respondrequest() function in backend/routers/friends.py does not implement proper authorization checks, enabling Insecure Direct Object Reference (IDOR) attacks. Specifically, the /api/friends/requests/{friendshipid} 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-0562?
CVE-2026-0562 is classified as a critical security vulnerability.
How do I fix CVE-2026-0562?
To fix CVE-2026-0562, upgrade to lollms version 2.2.1 or later.
What does CVE-2026-0562 affect?
CVE-2026-0562 affects all versions of parisneo/lollms up to 2.2.0.
What type of vulnerability is CVE-2026-0562?
CVE-2026-0562 is an Insecure Direct Object Reference (IDOR) vulnerability.
Who is impacted by CVE-2026-0562?
Any authenticated user of parisneo/lollms versions up to 2.2.0 can be impacted by CVE-2026-0562.