Skip to content

CVE-2026-29178 Lemmy: Unauthenticated SSRF via file_type query parameter injection in image endpoint

HighCVSS 7.7 EPSS 0.77% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

Lemmy, a link aggregator and forum for the fediverse, is vulnerable to server-side request forgery via a dependency on activitypub_federation, a framework for ActivityPub federation in Rust. Prior to version 0.19.16, the GET /api/v4/image/{filename} endpoint is vulnerable to unauthenticated SSRF through parameter injection in the file_type query parameter. An attacker can inject arbitrary query parameters into the internal request to pict-rs, including the proxy parameter which causes pict-rs to fetch arbitrary URLs. This issue has been patched in version 0.19.16.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
crates.io lemmy_routes(crates.io) < 0.19.16; <= 0.19.15 0.19.16 Fixed
LemmyNet lemmy = < 0.19.16 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io lemmy_routes(crates.io) < 0.19.16 0.19.16
LemmyNet lemmy = < 0.19.16 No fix listed
crates.io lemmy_routes(crates.io) <= 0.19.15 No fix listed

References