PT-2026-37170 · Lemmy · Lemmy

Nutomic

·

Published

2026-04-24

·

Updated

2026-05-09

·

CVE-2026-42181

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Lemmy versions prior to 0.19.18
Description Lemmy fetches metadata for user-supplied post URLs and, when using the default StoreLinkPreviews image mode, downloads preview images via local pict-rs. While the initial top-level page URL is checked against internal IP ranges, the extracted og:image URL is not subject to this restriction. This allows an authenticated low-privileged user to submit a public page where the Open Graph image points to an internal image endpoint. The server will then fetch the internal image and store a local thumbnail that can be served back to users. This process involves the extract opengraph data() function accepting absolute values and generate post link metadata() passing the URL to generate pictrs thumbnail(), which requests the image through the 'image/download?url=...' endpoint. This can be used to retrieve internal image resources and expose content reachable only from the application host.
Recommendations Update to version 0.19.18.

Exploit

Fix

SSRF

Weakness Enumeration

Related Identifiers

CVE-2026-42181
GHSA-H6HF-9846-XWRQ

Affected Products

Lemmy