CVE-2026-22245
January 08, 2026
Mastodon is a free, open-source social network server based on ActivityPub. By nature, Mastodon performs a lot of outbound requests to user-provided domains. Mastodon, however, has some protection mechanism to disallow requests to local IP addresses (unless specified in "ALLOWED_PRIVATE_ADDRESSES") to avoid the "confused deputy" problem. The list of disallowed IP address ranges was lacking some IP address ranges that can be used to reach local IP addresses. An attacker can use an IP address in the affected ranges to make Mastodon perform HTTP requests against loopback or local network hosts, potentially allowing access to otherwise private resources and services. This is fixed in Mastodon v4.5.4, v4.4.11, v4.3.17 and v4.2.29.
Affected Packages
https://github.com/mastodon/mastodon.git (GITHUB):
Affected version(s) >=v4.4.0-beta.1 <v4.4.11Fix Suggestion:
Update to version v4.4.11https://github.com/mastodon/mastodon.git (GITHUB):
Affected version(s) >=v4.3.0-beta.1 <v4.3.17Fix Suggestion:
Update to version v4.3.17https://github.com/mastodon/mastodon.git (GITHUB):
Affected version(s) >=v0.1.0 <v4.2.29Fix Suggestion:
Update to version v4.2.29https://github.com/mastodon/mastodon.git (GITHUB):
Affected version(s) >=v4.5.0-beta.1 <v4.5.4Fix Suggestion:
Update to version v4.5.4Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Server-Side Request Forgery (SSRF)
EPSS
Base Score:
0.04