VDB
Sign up
HIGH8.3

PYSEC-2026-204

Quick fix

PYSEC-2026-204 — lollms: upgrade to the fixed version with the command below.

pip install --upgrade 'lollms>=2.1.1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/lollms
Introduced in: 0Fixed in: 2.1.1
Fixpip install --upgrade 'lollms>=2.1.1'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/lollms"]}'