---
id: CVE-2026-0560
aliases:
  - PYSEC-2026-2199
title: >-
  A Server-Side Request Forgery (SSRF) vulnerability exists in parisneo/lollms
  versions prior to 2.2.0, specifically in the `/api/files/exp…
summary: >-
  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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
vendor: lollms
product: lollms
ecosystem: pip
affected:
  - lollms < 2.1.1
patched:
  - lollms 2.1.1
published: '2026-03-29'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2026-2199'
references:
  - url: 'https://huntr.com/bounties/65e43a5e-b902-4369-b738-1825285a3ea5'
  - url: >-
      https://github.com/parisneo/lollms/commit/76a54f0df2df8a5b254aa627d487b5dc939a0263
tags:
  - osv
  - pip
  - exploit-available
epss: 0.01765
epssPercentile: 0.77066
ingestedAt: '2026-07-13T18:58:08.010Z'
exploits:
  nuclei:
    - CVE-2026-0560
  checkedAt: '2026-09-25T08:20:48.735Z'
exploitAvailable: true
---

## Overview

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.

## Affected packages

- `lollms < 2.1.1`

## Remediation

Upgrade to a patched release:

- `lollms 2.1.1`
