VDB
Sign up
HIGH7.5

PYSEC-2026-2199

Quick fix

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

pip install --upgrade 'lollms>=2.1.1'

Details

A Server-Side Request Forgery (SSRF) vulnerability exists in parisneo/lollms versions prior to 2.2.0, specifically in the `/api/files/export-content` endpoint. The `_download_image_to_temp()` function in `backend/routers/files.py` fails to validate user-controlled URLs, allowing attackers to make arbitrary HTTP requests to internal services and cloud metadata endpoints. This vulnerability can lead to internal network access, cloud metadata access, information disclosure, port scanning, and potentially remote code execution.

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