Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Lemmy instance
-
DeliveryCraft public HTML page with malicious og:image tag
-
ExploitSubmit post with link to attacker page
-
InstallLemmy fetches page metadata
-
C2Extract og:image URL without validation
-
ExecutePass image URL to pict-rs service
-
Impactpict-rs fetches internal endpoint
-
Step 8Thumbnail cached and returned to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) a valid authenticated account on the Lemmy instance (PR:L in CVSS vector); (2) the instance must be running Lemmy version prior to 0.19.18; (3) the instance must be using the default StoreLinkPreviews image mode for link metadata processing; (4) the low-privilege user must have permission to create posts in at least one community they can access (standard behavior on most instances); (5) the attacker must be able to host a public HTML page with crafted Open Graph metadata that is reachable by the Lemmy instance at the network level. The attack does not require user interaction (UI:N in CVSS) beyond the attacker's own post submission. Instances that disable link preview generation, use alternative image storage modes, restrict posting privileges to administrators only, or implement strict network egress filtering are less vulnerable. Default-configured instances with open community posting are at highest risk. |
| Impact | CVSS 6.5 (MEDIUM, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) indicates network-accessible exploitation requiring low-privilege authentication with low complexity and high confidentiality impact. The authentication requirement (PR:L) significantly limits real-world risk compared to unauthenticated SSRF variants, as attackers must possess valid user accounts. However, SSRF vulnerabilities are inherently reliable to exploit (low AC:L), and the unvalidated og:image bypass is straightforward once an account is obtained. KEV status and EPSS data are not provided, so active exploitation frequency cannot be assessed; however, the GitHub security advisory and confirmed patch suggest this was a known issue rather than a zero-day. The attack requires only crafting a public HTML page with a malicious og:image tag-no user interaction (UI:N) is needed beyond the initial post submission. Real-world risk depends on Lemmy instance configuration: instances using default StoreLinkPreviews image mode and allowing low-privilege users to post are at highest risk. Instances using alternative image modes, restricting posting privileges, or running behind strict network segmentation may have lower practical exposure. |
| Exploit ScenarioDerived | An attacker with a low-privilege Lemmy account creates a public HTML page under their control and embeds an Open Graph image tag pointing to an internal endpoint (e.g., http://192.168.1.100:8080/admin/config). The attacker then submits a post to a community with a link to their public page. Lemmy's link preview system fetches the page, extracts the og:image URL, and passes it to pict-rs for thumbnail generation. The pict-rs service, running on the same internal network as the Lemmy backend, successfully fetches the internal image endpoint and caches a thumbnail. The attacker can then retrieve the cached thumbnail through the normal Lemmy API, potentially extracting sensitive data or confirming the existence of internal services. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 08, 2026
Server-side request forgery (SSRF) in Lemmy prior to version 0.19.18 allows authenticated low-privileged users to bypass internal IP range restrictions and access internal image endpoints. An attacker can submit a crafted post whose Open Graph image tag points to an internal server; Lemmy will fetch and cache the image server-side, potentially exposing sensitive internal resources. The vulnerability exists because the initial page URL is validated against internal IP ranges, but the extracted og:image URL is not subject to the same restriction, creating a two-stage bypass.
RemediationAI
Upgrade Lemmy to version 0.19.18 or later immediately. The vendor has released patched version 0.19.18 (available at https://github.com/LemmyNet/lemmy/releases/tag/0.19.18) which applies server-side URL validation to extracted og:image values in addition to the top-level page URL. For instances unable to patch immediately, mitigations include: disable the default StoreLinkPreviews feature by configuring an alternative image mode in the Lemmy settings if available; restrict post creation privileges to trusted users only, limiting who can submit external links that trigger metadata fetching; or implement network-level egress filtering rules on the instance to prevent the pict-rs service from accessing internal IP ranges (however, this requires careful configuration to avoid breaking legitimate functionality). Note that these mitigations do not eliminate the vulnerability, only reduce the attack surface. Patching is the only complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in cargo, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Lemmy's link preview feature automatically fetches Open Graph metadata from user-supplied post URLs to generate preview cards. The vulnerable code path in crates/api_common/src/request.rs validates the top-level post URL against internal IP ranges via fetch_link_metadata(), but after HTML parsing, extract_opengraph_data() extracts absolute og:image values without re-validating them. These unvalidated image URLs are then passed to generate_pictrs_thumbnail(), which invokes a local pict-rs image processing service with image/download?url=[UNVALIDATED_URL]. This creates a two-stage source-to-sink chain where the security boundary (internal address check) is enforced only at the first hop, allowing attackers to bypass it through a secondary resource URL embedded in Open Graph metadata. The root cause is inadequate URL validation (CWE-918: Server-Side Request Forgery) at the metadata extraction stage.
Know when Lemmy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Username enumeration in Lemmy's login endpoint allows unauthenticated remote attackers to confirm whether a given userna
Rate limit bypass in Lemmy prior to 0.19.19 and 1.0.0-beta.1 allows unauthenticated remote attackers to circumvent all I
Missing moderator rank authorization in Lemmy's ActivityPub federation layer allows a lower-ranked remote moderator to f
Lemmy is a link aggregator and forum for the fediverse. Rated medium severity (CVSS 6.5), this vulnerability is remotely
Stored cross-site scripting in lemmy-ui prior to 0.19.19-beta.1 allows session hijacking and unauthorized authenticated
Server-side request forgery (SSRF) in Lemmy prior to version 0.19.18 allows authenticated low-privileged users to trigge
Private message block enforcement in Lemmy is bypassed by the edit path, allowing a blocked sender to keep modifying old
EUVD-2026-28820
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB