CVE-2026-0562

Insecure Direct Object Reference (IDOR) in parisneo/lollms

State
Published
Severity
8.3 High
Published
Mar 29, 2026
Updated
Apr 22, 2026
Reserved
Jan 1, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.08.3 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L@huntr_ai

Weaknesses

Affected Products

ProductVersions
parisneo/lollmsparisneo
  • before 2.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.