# CVE-2026-0562: Insecure Direct Object Reference (IDOR) in parisneo/lollms

- Severity: High 8.3 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-29T17:49:44.461Z
- Modified: 2026-06-17T10:10:57.043Z
- Also known as: PYSEC-2026-204
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- parisneo parisneo/lollms: from unspecified before 2.2.0
- lollms lollms: up to 2.1.0
- lollms (PyPI): before 2.1.1

## Every score

- @huntr_ai: CVSS:3.0 8.3 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- NVD: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- PyPA Advisory Database: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf> (exploit, issue-tracking, report, third-party-advisory)
- <https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c> (fix, patch)
- <https://aydinnyunus.github.io/2026/04/18/idor-lollms-friend-request-cve-2026-0562/> (web)

## Sources

- CVE List: [CVE-2026-0562](https://www.cve.org/CVERecord?id=CVE-2026-0562), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-0562](https://nvd.nist.gov/vuln/detail/CVE-2026-0562), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-204](https://osv.dev/vulnerability/PYSEC-2026-204), CC-BY-4.0, modified 2026-06-06

---

Page: https://cve.day/CVE-2026-0562 · Whole record: https://cve.day/CVE-2026-0562.json · Rebuilt by cve.day 2026-11-25T22:59:17.494Z
