CVE-2026-42181 Details
Description
Lemmy is a link aggregator and forum for the fediverse. Prior to version 0.19.18, Lemmy fetches metadata for user-supplied post URLs and, under the default StoreLinkPreviews image mode, downloads the preview image through local pict-rs. While the top-level page URL is checked against internal IP ranges, the extracted og:image URL is not subject to the same restriction. As a result, an authenticated low-privileged user can submit an attacker-controlled public page whose Open Graph image points to an internal image endpoint. Lemmy will fetch that internal image server-side and store a local thumbnail that can then be served back to users. This issue has been patched in version 0.19.18.
A server-side request forgery (SSRF) vulnerability has been identified in Lemmy versions prior to 0.19.18. This issue arises because Lemmy fetches metadata from user-supplied post URLs and, by default, downloads preview images through a local image processing service. While the main URL is validated against internal IP ranges, the extracted Open Graph image URL bypasses this check. Consequently, an authenticated low-privileged user can exploit this by submitting a public page that points to an internal image endpoint. Lemmy will then fetch the internal image, store a local thumbnail, and serve it to users.
Users should update to Lemmy version 0.19.18 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 8, 2026CISA-ADP
Assessed May 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LemmyNet/lemmy/security/advisories/GHSA-h6hf-9846-xwrq | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/LemmyNet/lemmy/releases/tag/0.19.18 | [email protected] | Release NotesVendor |
| https://github.com/LemmyNet/lemmy/security/advisories/GHSA-h6hf-9846-xwrq | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Lemmy | 0.19.17 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 11, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | New CVE Received | [email protected] |
Volerion