Skip to main content
← All vulnerabilities
CVE-2026-0562PYSEC-2026-204

Insecure Direct Object Reference (IDOR) in parisneo/lollms

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.0, 2.1.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • parisneo parisneo/lollms

    fixed in 2.2.0

  • lollmsPyPI

    fixed in 2.1.1

References 2

huntr.com

GitHub · parisneo/lollms