CVE-2026-0562
JSON

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 packageVersionsReported by
parisneo parisneo/lollmsfrom unspecified before 2.2.0CVE List
lollms lollmsup to 2.1.0NVD
lollms (PyPI)before 2.1.1PyPA Advisory Database

All scores

@huntr_ai8.3high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
NVD8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
PyPA Advisory Database8.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Classification

CWE-863

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

Sources

SourceRecordLicence
CVE ListCVE-2026-0562 changed 2026-04-22CVE Terms of Use
NVDCVE-2026-0562 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-204 changed 2026-06-06CC-BY-4.0