CVE-2026-42181 — Vulnerability in lemmy_api_common — CVE Details
Lemmy has SSRF and internal image disclosure in post link metadata via unvalidated og:image
Summary
Advisory Timeline
- First published April 24, 2026 (171 days ago).
- Last revised May 13, 2026 — 19 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p lemmy_api_common --precise 0.19.18
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| lemmy_api_common | crates.io | All versions | 0.19.18 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-918Server-Side Request Forgery (SSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/LemmyNet/lemmy/security/advisories/GHSA-h6hf-9846-xwrqWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42181ADVISORY
- https://github.com/LemmyNet/lemmy/commit/9ffe586dafac1a46acf17edf90e0165e5503b2f1WEB
- https://github.com/LemmyNet/lemmyPACKAGE
- https://github.com/LemmyNet/lemmy/releases/tag/0.19.18WEB
- https://join-lemmy.org/news/2026-04-20_-_Lemmy_Release_v0.19.18WEB
Frequently Asked Questions
- What is CVE-2026-42181?
- Lemmy has SSRF and internal image disclosure in post link metadata via unvalidated og:image This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2026-42181?
- CVE-2026-42181 affects lemmy_api_common. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42181 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-102821MEDIUM
Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey
- CVE-2026-42180MEDIUM
Lemmy has SSRF in /api/v3/post via Webmention dispatch
- CVE-2026-102820MEDIUM
pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies