CVE-2026-0562

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:lollms:lollms:*:*:*:*:*:*:*:*

History

22 Apr 2026, 16:16

Type Values Removed Values Added
References
  • () https://aydinnyunus.github.io/2026/04/18/idor-lollms-friend-request-cve-2026-0562/ -
Summary
  • (es) Una vulnerabilidad de seguridad crítica en las versiones de parisneo/lollms hasta la 2.2.0 permite a cualquier usuario autenticado aceptar o rechazar solicitudes de amistad pertenecientes a otros usuarios. La función 'respond_request()' en 'backend/routers/friends.py' no implementa comprobaciones de autorización adecuadas, lo que permite ataques de Referencia Directa a Objeto Insegura (IDOR). Específicamente, el endpoint '/api/friends/requests/{friendship_id}' no verifica si el usuario autenticado es parte de la amistad o el destinatario previsto de la solicitud. Esta vulnerabilidad puede conducir a acceso no autorizado, violaciones de la privacidad y posibles ataques de ingeniería social. El problema ha sido abordado en la versión 2.2.0.

31 Mar 2026, 19:30

Type Values Removed Values Added
References () https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c - () https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c - Patch
References () https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf - () https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf - Exploit, Issue Tracking, Third Party Advisory
CPE cpe:2.3:a:lollms:lollms:*:*:*:*:*:*:*:*
First Time Lollms
Lollms lollms

29 Mar 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-29 18:16

Updated : 2026-04-22 16:16


NVD link : CVE-2026-0562

Mitre link : CVE-2026-0562

CVE.ORG link : CVE-2026-0562


JSON object : View

Products Affected

lollms

  • lollms
CWE
CWE-863

Incorrect Authorization