CVE-2026-22245CWE-918

Mastodon has SSRF Protection bypass

High · published January 8, 2026

CVSS v4.0
7.1
EPSS
0%
Percentile
20.4
In the wild
Unconfirmed
What it is

⚡ An attacker could trick Mastodon into making requests to your local network! This sneaky flaw in its outbound request handling could expose private resources without breaking a sweat. 🔥 Think of Mastodon as a friendly delivery service, but without a proper map. It’s like the driver being told not to deliver to any address in the neighborhood, yet they accidentally miss a few streets and end up at your house, picking up any packages they find inside! If exploited, this vulnerability could lead to unauthorized access to sensitive information on local services, like internal APIs or databases, potentially revealing critical data to malicious actors. This could be absolutely devastating for users who think their private info is secure!

Put simply

Think of Mastodon as a friendly delivery service, but without a proper map. It’s like the driver being told not to deliver to any address in the neighborhood, yet they accidentally miss a few streets and end up at your house, picking up any packages they find inside! This vulnerability arises from the incomplete list of disallowed IP address ranges in Mastodon's outbound request mechanism, allowing attackers to access local network addresses by exploiting the default settings.

What to do

If exploited, this vulnerability could lead to unauthorized access to sensitive information on local services, like internal APIs or databases, potentially revealing critical data to malicious actors. This could be absolutely devastating for users who think their private info is secure! To protect yourself, update Mastodon to versions 4.5.4, 4.4.11, 4.3.17, or 4.2.29 immediately. Additionally, review your `ALLOWED_PRIVATE_ADDRESSES` configuration to ensure only trusted IPs are included. You've got this! Stay vigilant and keep your Mastodon server protected! 🛡️

The record
Technical detail
CVSS v4.0
7.1 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.00289 · 20.4th percentile
Weakness
CWE-918 · Server-Side Request Forgery (SSRF)
Published
2026-01-08T15:23Z
EPSS history
Timeline
  • 08 JAN 15:23Z
    Mastodon has SSRF Protection bypass
    cvelistv5