{"id":"CVE-2026-42181","published":"2026-05-08T19:26:07Z","modified":"2026-05-11T16:01:01Z","title":"Lemmy: SSRF and internal image disclosure in post link metadata via unvalidated og:image","vendor":"LemmyNet","product":"lemmy","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00354,"percentile":0.21452,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/LemmyNet/lemmy/security/advisories/GHSA-h6hf-9846-xwrq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/LemmyNet/lemmy/releases/tag/0.19.18","tags":["x_refsource_MISC"]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":4.29},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"lemmynet","affectedVersions":[{"vendor":"LemmyNet","product":"lemmy","versions":["< 0.19.18"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T16:00:57.536211Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"lemmy_api_common","vulnerableRanges":["<0.19.18"],"patched":["0.19.18"],"from":["GHSA-h6hf-9846-xwrq"],"provenance":"source"}],"summary":{"text":"Lemmy, the link aggregator and forum software for the fediverse, has a server-side request forgery flaw in its post link metadata handling: the og:image URL extracted from a user-supplied page is not checked against internal IP ranges, unlike the top-level page URL. An authenticated low-privileged user over the network, with no user interaction needed and under the default StoreLinkPreviews image mode, can submit a public page whose og:image points to an internal image endpoint, causing Lemmy to fetch it server-side and store a thumbnail that is then served back to users.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:30Z"},"euvd":{"id":"EUVD-2026-28820","exploited":false,"provenance":"source"}}