CVE-2025-25194 Server-Side Request Forgery (SSRF) in activitypub_federation
Attackers can bypass security controls to perform arbitrary GET requests via Webfinger, potentially accessing internal resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-25194?
CVE-2025-25194 is a medium-severity server-side request forgery vulnerability in LemmyNet lemmy, published on 10 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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. This vulnerability, which is present in versions 0.6.2 and prior of activitypub_federation and versions 0.19.8 and prior of Lemmy, allows a user to bypass any predefined hardcoded URL path or security anti-Localhost mechanism and perform an arbitrary GET request to any Host, Port and URL using a Webfinger Request. As of time of publication, a fix has not been made available.
Weakness: CWE-918
Which versions are affected by CVE-2025-25194?
2 open source packages ship an affected version, including activitypub_federation.
| Package | Affected | Fixed in |
|---|---|---|
activitypub_federation crates.io | All versions to 0.6.2 | None |
activitypub_federation crates.io | All versions to 0.6.2 | None |
How do I fix CVE-2025-25194?
No fix has been published for CVE-2025-25194 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2025-25194 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-25194 exists.
Sources
Also known as GHSA-7723-35v7-qcxw.