CVE-2026-0562

Insecure Direct Object Reference (IDOR) in parisneo/lollms

Published Mar 29, 2026 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an Insecure Direct Object Reference that allows any authenticated user to accept or reject friend requests that belong to other users. Because the API endpoint does not verify that the requester is part of the specified friendship, an attacker can manipulate the relationship state of other users, leading to privacy violations and enabling social engineering tactics. This flaw enables unauthorized modification of data for users other than the attacker, which can compromise confidentiality and integrity of user relationships.

Affected Systems

Parisneo lollms is affected in all versions up to 2.1.x. The issue was fixed in version 2.2.0 and later. Users running lollms prior to 2.2.0 are vulnerable.

Risk and Exploitability

The CVSS score is 8.3, indicating high severity, and the EPSS score is less than 1%, suggesting a relatively low likelihood of exploitation but with potential for targeted attacks. The vulnerability is not listed in the CISA KEV catalog. An attacker only needs valid authenticated credentials to abuse the endpoint; no further access is required. The attack vector is inferred to be internal, as it requires authentication, but the lack of proper authorization checks makes the exploitation trivial once credentials are obtained.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Verify the current lollms version on all installations.
  • If the version is older than 2.2.0, upgrade immediately to 2.2.0 or later.
  • Revoke or reset credentials for accounts that no longer need access, as an additional precaution after the patch has been applied.

Generated by OpenCVE AI on April 1, 2026 at 05:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Lollms
Lollms lollms
CPEs cpe:2.3:a:lollms:lollms:*:*:*:*:*:*:*:*
Vendors & Products Lollms
Lollms lollms
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Parisneo
Parisneo parisneo/lollms
Vendors & Products Parisneo
Parisneo parisneo/lollms
Type Values Removed Values Added
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.
Title Insecure Direct Object Reference (IDOR) in parisneo/lollms
Weaknesses CWE-863
References
Metrics cvssV3_0

{'score': 8.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Apr 22, 2026, 2:57 PM
Reserved
Jan 1, 2026, 10:48 PM
Status
Modified
Published
Mar 29, 2026, 6:16 PM
Modified
Jun 17, 2026, 10:10 AM