PYSEC-2026-204
Vulnerability from pysec - Published: 2026-03-29 18:16 - Updated: 2026-06-06 19:12A 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.
| Name | purl | lollms | pkg:pypi/lollms |
|---|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "PyPI",
"name": "lollms",
"purl": "pkg:pypi/lollms"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.1.10",
"1.1.11",
"1.1.12",
"1.1.13",
"1.1.14",
"1.1.15",
"1.1.16",
"1.1.17",
"1.1.18",
"1.1.19",
"1.1.20",
"1.1.21",
"1.1.22",
"1.1.25",
"1.1.26",
"1.1.27",
"1.1.28",
"1.1.29",
"1.1.3",
"1.1.30",
"1.1.31",
"1.1.32",
"1.1.33",
"1.1.34",
"1.1.35",
"1.1.36",
"1.1.37",
"1.1.38",
"1.1.45",
"1.1.46",
"1.1.47",
"1.1.48",
"1.1.49",
"1.1.5",
"1.1.50",
"1.1.51",
"1.1.52",
"1.1.53",
"1.1.55",
"1.1.56",
"1.1.57",
"1.1.58",
"1.1.59",
"1.1.6",
"1.1.60",
"1.1.61",
"1.1.62",
"1.1.63",
"1.1.64",
"1.1.65",
"1.1.66",
"1.1.67",
"1.1.68",
"1.1.69",
"1.1.7",
"1.1.70",
"1.1.71",
"1.1.73",
"1.1.74",
"1.1.75",
"1.1.76",
"1.1.77",
"1.1.78",
"1.1.79",
"1.1.80",
"1.1.82",
"1.1.83",
"1.1.84",
"1.1.85",
"1.1.86",
"1.1.9",
"1.1.90",
"1.1.91",
"1.1.92",
"1.2.0",
"1.2.1",
"1.2.10",
"1.2.11",
"1.2.12",
"1.2.14",
"1.2.3",
"1.2.4",
"1.2.6",
"1.2.7",
"1.2.8",
"1.2.9",
"2.0.0",
"2.0.1",
"2.0.10",
"2.0.11",
"2.0.12",
"2.0.13",
"2.0.14",
"2.0.15",
"2.0.16",
"2.0.17",
"2.0.18",
"2.0.19",
"2.0.2",
"2.0.20",
"2.0.21",
"2.0.22",
"2.0.23",
"2.0.24",
"2.0.25",
"2.0.26",
"2.0.27",
"2.0.28",
"2.0.3",
"2.0.30",
"2.0.31",
"2.0.32",
"2.0.4",
"2.0.5",
"2.0.6",
"2.0.8",
"2.0.9",
"2.1.0"
]
}
],
"aliases": [
"CVE-2026-0562"
],
"details": "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.",
"id": "PYSEC-2026-204",
"modified": "2026-06-06T19:12:55.895665Z",
"published": "2026-03-29T18:16:14.460Z",
"references": [
{
"type": "WEB",
"url": "https://aydinnyunus.github.io/2026/04/18/idor-lollms-friend-request-cve-2026-0562/"
},
{
"type": "REPORT",
"url": "https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf"
},
{
"type": "FIX",
"url": "https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.