CVE Explorer
CVE-2026-0562
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 recipie
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"parisneo/lollms","vendor":"parisneo","versions":[{"lessThan":"2.2.0","status":"affected","version":"unspecified","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f821fa2bb6c1aaf664ad61731ed5379c1bbc036fbc4d5c3060fdb95bbc1ab806 · sha256:4324fe01fd508f13… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.0"},"metric_type":"cvssV3_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f821fa2bb6c1aaf664ad61731ed5379c1bbc036fbc4d5c3060fdb95bbc1ab806 · sha256:4324fe01fd508f13… · /containers/cna/metrics/0/cvssV3_0
CWE assertions
1 source assertion{"cweId":"CWE-863","description":"CWE-863 Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f821fa2bb6c1aaf664ad61731ed5379c1bbc036fbc4d5c3060fdb95bbc1ab806 · sha256:4324fe01fd508f13… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"https://aydinnyunus.github.io/2026/04/18/idor-lollms-friend-request-cve-2026-0562/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f821fa2bb6c1aaf664ad61731ed5379c1bbc036fbc4d5c3060fdb95bbc1ab806 · sha256:4324fe01fd508f13… · /containers/adp/1/references/0
{"url":"https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f821fa2bb6c1aaf664ad61731ed5379c1bbc036fbc4d5c3060fdb95bbc1ab806 · sha256:4324fe01fd508f13… · /containers/cna/references/1
{"url":"https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f821fa2bb6c1aaf664ad61731ed5379c1bbc036fbc4d5c3060fdb95bbc1ab806 · sha256:4324fe01fd508f13… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.