{"id":"CVE-2026-0562","published":"2026-03-29T17:49:44Z","modified":"2026-04-22T14:57:21Z","title":"Insecure Direct Object Reference (IDOR) in parisneo/lollms","vendor":"parisneo","product":"parisneo/lollms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00305,"percentile":0.23464,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf","tags":[]},{"url":"https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c","tags":[]},{"url":"https://aydinnyunus.github.io/2026/04/18/idor-lollms-friend-request-cve-2026-0562/","tags":[]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":4.69},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms","versions":[">= unspecified, < 2.2.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-03-30T15:34:27.114666Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lollms","vulnerableRanges":["<2.1.1"],"patched":["2.1.1"],"from":["PYSEC-2026-204"],"provenance":"source"}],"summary":{"text":"The flaw is an Insecure Direct Object Reference in parisneo/lollms, specifically in the respond_request() function in backend/routers/friends.py, where the /api/friends/requests/{friendship_id} endpoint fails to check whether the authenticated user belongs to the friendship or is its intended recipient. An attacker who holds any valid user account on the affected versions (up to 2.2.0) can accept or reject friend requests addressed to other users, with no user interaction or special configuration required, leading to unauthorized access and privacy violations.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:02Z"},"euvd":{"id":"EUVD-2026-17039","exploited":false,"provenance":"source"}}