Advisory

PYSEC-2026-204

Also known as: CVE-2026-0562

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 8.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Dates

Published
2026-03-29 18:16 UTC
Modified
2026-06-06 20:00 UTC

Affected packages and fixes

lollms

PyPI · All systems

Affected

  • introduced 0, fixed 2.1.1 (ecosystem)

Fixed versions

2.1.1

Fix

  • Fixed version 2.1.1
    pip install --upgrade lollms==2.1.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences