Skip to main content

Lemmy EUVDEUVD-2026-28819

| CVE-2026-42180 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-08 GitHub_M
6.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Create post in public community
  3. Exploit
    Supply internal address as URL
  4. Execution
    Trigger asynchronous Webmention dispatch
  5. Persist
    Server issues HTTP request to internal service
  6. Impact
    Attacker observes response/side effects

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 an authenticated account with post creation privileges in a public community. The attacker must submit a POST request to /api/v3/post with a URL field containing an internal address (loopback: 127.0.0.1/::1; private: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16; link-local: 169.254.0.0/16, fe80::/10). The target community must have visibility set to Public (CommunityVisibility::Public) because Webmention delivery is only triggered for public posts - private or restricted communities do not trigger the vulnerable code path. No special Lemmy configuration or feature flag is required; the vulnerability exists in default installations. Authentication is the primary limiting factor: unauthenticated remote users cannot exploit this. However, on public instances with open registration (the default), account creation is trivial. The vulnerability is NOT limited to specific post types or URL schemes because the validation only checks http/https schemes, not address ranges.

Impact

The CVSS score of 6.3 with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L reflects moderate risk: network-accessible, low attack complexity, but requires low-privilege authentication. The PR:L requirement limits opportunistic exploitation to registered users, a meaningful friction. However, account creation is typically unrestricted on public Lemmy instances, reducing this barrier significantly. The lack of UI interaction (UI:N) and unchanged scope (S:U) indicate straightforward exploitation once authenticated. No EPSS score or KEV listing was provided, so real-world exploitation probability cannot be quantified from authoritative sources. The practical attack complexity is actually lower than CVSS suggests because Lemmy's asynchronous Webmention dispatch is automatic - no special configuration or race conditions are required. An attacker with any valid account can immediately probe internal services (metadata disclosure via response timing, port enumeration via error messages), exfiltrate data from internal APIs, or launch further attacks on backend services (Redis, PostgreSQL, internal microservices). The impact severity depends heavily on instance architecture: if internal services are unprotected, risk is high; if network-segmented, risk is contained. The patch is available and directly addresses the root cause, making this a high-priority remediation despite the moderate CVSS score.

Exploit ScenarioDerived

An attacker creates a low-privilege account on a public Lemmy instance (no special privileges required). The attacker then submits a post to any public community with the URL field set to http://127.0.0.1:6379 (Redis port commonly used by Lemmy). Lemmy's backend automatically dispatches a Webmention request to that internal address. The attacker observes response timing or error messages, confirming Redis is accessible internally, and can then attempt further exploitation such as data exfiltration or command injection via Webmention handling logic. In a second scenario, the attacker targets http://10.0.0.5:5432 (PostgreSQL running on internal network), probing for database endpoints and gathering information about the instance's architecture without requiring direct network access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Server-side request forgery (SSRF) in Lemmy prior to version 0.19.18 allows authenticated low-privileged users to trigger arbitrary HTTP requests to internal services by creating link posts with URLs targeting loopback, private, or link-local addresses. When a post is created in a public community, the backend asynchronously sends a Webmention to the attacker-controlled URL without validating against internal address ranges, enabling reconnaissance or exploitation of internal services. No public exploit code has been identified at time of analysis, but the vulnerability is straightforward to demonstrate and requires only user-level account access.

RemediationAI

Upgrade Lemmy to version 0.19.18 or later immediately - this is the primary and complete remediation. The patched version implements internal address range rejection before Webmention dispatch, preventing SSRF. To upgrade, follow the official Lemmy installation guide at https://join-lemmy.org/news/2026-04-20_-_Lemmy_Release_v0.19.18 and https://github.com/LemmyNet/lemmy/releases/tag/0.19.18. If immediate upgrade is not possible (e.g., pending testing), implement these compensating controls: (1) Restrict network egress from the Lemmy application container to block requests to private address ranges (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 169.254.0.0/16, ::1/128) using firewall rules or container-level policies - this is network-layer defense but impedes Webmention functionality if legitimate external services are blocked; (2) Disable public post creation temporarily by restricting community visibility or post API access via rate-limiting or access control - this prevents the vulnerable code path but disables core functionality; (3) Monitor outbound HTTP connections from Lemmy for requests to private/loopback addresses and alert on detection. None of these workarounds is satisfactory long-term; upgrade to 0.19.18 is mandatory. See the GitHub security advisory at https://github.com/LemmyNet/lemmy/security/advisories/GHSA-3jvj-v6w2-h948 for technical details.

Affected VersionsENISA

lemmy < 0.19.18

Affected Packages

cargo lemmy_api_common fix: 0.19.18
euvd lemmy fix: 0.19.18

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 vulnerability exists in the post creation flow (POST /api/v3/post), which accepts a user-supplied URL field for link posts. The URL is validated using is_valid_url(), which only confirms the scheme is http or https but does not implement RFC 1918 private address rejection or loopback/link-local filtering. When a post is created in a public community, the application asynchronously triggers Webmention delivery (a W3C standard for cross-site communication) by spawning a background task that issues an outbound HTTP request to the attacker-controlled URL. This creates a direct source-to-sink pathway from user input to server-initiated network activity without intermediate filtering of internal address spaces (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 169.254.0.0/16, ::1/128, etc.). The root cause is classified as CWE-918 (Server-Side Request Forgery), a classic SSRF pattern where application logic makes outbound requests based on untrusted input.

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

Vendor (GitHub_M) PRIMARY 6.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

Lemmy is a link aggregator and forum for the fediverse. Prior to version 0.19.18, Lemmy allows an authenticated low-privileged user to create a link post through POST /api/v3/post. When a post is created in a public community, the backend asynchronously sends a Webmention to the attacker-controlled link target. The submitted URL is checked for syntax and scheme, but the audited code path does not reject loopback, private, or link-local destinations before the Webmention request is issued. This lets a normal user trigger server-side HTTP requests toward internal services. This issue has been patched in version 0.19.18.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy