{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42181","id":"CVE-2026-42181","title":"Lemmy: SSRF and internal image disclosure in post link metadata via unvalidated og:image","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 authenticate","descriptionLong":"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.","published":"2026-05-08T19:26:07.763Z","updated":"2026-10-28T02:31:11.658606094Z","reserved":"2026-04-25T01:53:21.582Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["LemmyNet lemmy"],"affectedProducts":[{"vendor":"LemmyNet","product":"lemmy","defaultStatus":null,"versions":[{"version":"< 0.19.18","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"lemmy_api_common","purl":"pkg:cargo/lemmy_api_common","ranges":["<0.19.18"],"fixed":["0.19.18"],"advisory":"GHSA-h6hf-9846-xwrq"}],"cwes":["CWE-918"],"aliases":["GHSA-h6hf-9846-xwrq"],"references":[{"url":"https://github.com/LemmyNet/lemmy/security/advisories/GHSA-h6hf-9846-xwrq","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/LemmyNet/lemmy/releases/tag/0.19.18","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42181.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42181","tags":["advisory"]},{"url":"https://github.com/LemmyNet/lemmy/commit/9ffe586dafac1a46acf17edf90e0165e5503b2f1","tags":["web"]},{"url":"https://github.com/LemmyNet/lemmy","tags":["package"]},{"url":"https://join-lemmy.org/news/2026-04-20_-_Lemmy_Release_v0.19.18","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00264,"epssPercentile":0.18446,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42181","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42181","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42181","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h6hf-9846-xwrq","ok":true,"note":"GHSA-h6hf-9846-xwrq"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-42181","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}