All vulnerabilities

Servers and applications

CVE-2026-22245

SSRF Protection bypass

Severity
High 7.1
Published
7 Jan 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.2.29, 4.3.17, 4.4.11, 4.5.4
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-xfrj-c749-jxxq
Sources
NVD, Project advisories (GitHub)

Description

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.

[!NOTE] This security issue has been found by Joshua Rogers of Aisle Research.

From mastodon/mastodon's security advisory.

Affected software

SoftwareAffected versions
MastodonServers and applications · cpe:a:joinmastodon:mastodon
  • Every version before 4.2.29
  • From 4.3.0 before 4.3.17
  • From 4.4.0 before 4.4.11
  • From 4.5.0 before 4.5.4
MastodonServers and applications · github:mastodon/mastodon
  • Every version before 4.2.29

About Mastodon

free and open-source federated social networking project

From Wikidata, CC0 1.0.
GitHub stars
50,616GitHub, 15 Nov 2026
Forks
7,589GitHub, 15 Nov 2026
Latest release
v4.7.5GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
License
AGPL-3.0GitHub
Written in
Ruby on Rails, React, Node.jsWikidata
First released
16 Mar 2016Wikidata
First published on GitHub
22 Feb 2016GitHub

Release lines

ReleaseLatestSecurity fixes
4.74.7.5Yes
4.64.6.11Yes
4.54.5.21Until 20 Feb 2027
4.44.4.28Until 17 Dec 2026
4.34.3.23Ended 6 May 2026
4.24.2.29Ended 8 Jan 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-22245
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-22245
  • GitHub Advisory Database https://github.com/advisories/GHSA-xfrj-c749-jxxq
  • github.com https://github.com/mastodon/mastodon/security/advisories/GHSA-xfrj-c749-jxxq