CVE-2026-22245

Mastodon has SSRF Protection bypass

HIGH
7.5
CVSS Score
Published: January 8, 2026 at 03:23 PM UTC
Updated: June 17, 2026 at 10:19 AM UTC
2 products affected across 2 vendorsMastodonMastodon

Using mastodon by mastodon?

Get instant alerts when new vulnerabilities affect mastodon - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.2.294.3.0 ≤ v < 4.3.174.4.0 ≤ v < 4.4.114.5.0 ≤ v < 4.5.4
v < 4.2.29v < 4.3.17v < 4.4.11v < 4.5.4
Affected range stops below 4.2.29, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.3.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.4.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5.4, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-918

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card