Skip to content
Heist/ feed
Back to feed
High

Insecure Direct Object Reference (IDOR) in parisneo/lollms

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-0562
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 03:05 UTC · Revision 1

Source evidence

Insecure Direct Object Reference (IDOR) in parisneo/lollms

core-osv · Original source

Published 29 Mar 2026, 17:49 UTC

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.

osv:CVE-2026-0562
Complete source record
{
  "id": "f38c408010a2923e141848094968c8c3af07d42f25e3624e00ed3c3c55c8f729",
  "url": "https://osv.dev/vulnerability/CVE-2026-0562",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Insecure Direct Object Reference (IDOR) in parisneo/lollms",
    "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.",
    "evidence": "osv:CVE-2026-0562",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-0562",
      "aliases": [
        "CVE-2026-0562",
        "PYSEC-2026-204"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/parisneo/lollms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c46297799f8e1e23305373f8350746b905e0e83c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:lollms:lollms:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c46297799f8e1e23305373f8350746b905e0e83c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.1.0",
            "v2.0.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-0562.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.844408141Z",
      "provider": "osv",
      "references": [
        "https://aydinnyunus.github.io/2026/04/18/idor-lollms-friend-request-cve-2026-0562/",
        "https://huntr.com/bounties/6aab01ca-a138-4a1d-bef9-3bce145359bf",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0562.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-0562",
        "https://github.com/parisneo/lollms/commit/c46297799f8e1e23305373f8350746b905e0e83c"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-863"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0562.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-0562",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499893,
  "published_at": "2026-03-29T17:49:44.461+00:00"
}