8.3high
Insecure Direct Object Reference (IDOR) in parisneo/lollms
- Severity
- 8.3high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.51% (higher than 37% of CVEs)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- PYSEC-2026-204
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
| Product or package | Versions | Reported by |
|---|---|---|
| parisneo parisneo/lollms | from unspecified before 2.2.0 | CVE List |
| lollms lollms | up to 2.1.0 | NVD |
| lollms (PyPI) | before 2.1.1 | PyPA Advisory Database |
All scores
| @huntr_ai | 8.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| NVD | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
| PyPA Advisory Database | 8.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (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.
References
| https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf | exploit, issue-tracking, report, third-party-advisory | |
| https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c | fix, patch | |
| https://aydinnyunus.github.io/2026/04/18/idor-lollms-friend-request-cve-2026-0562/ | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-0562 changed 2026-04-22 | CVE Terms of Use |
| NVD | CVE-2026-0562 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-204 changed 2026-06-06 | CC-BY-4.0 |