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
- 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.
Affected software
| Software | Affected versions |
|---|---|
MastodonServers and applications · cpe:a:joinmastodon:mastodon |
|
MastodonServers and applications · github:mastodon/mastodon |
|
About Mastodon
free and open-source federated social networking project
- 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
| Release | Latest | Security fixes |
|---|---|---|
| 4.7 | 4.7.5 | Yes |
| 4.6 | 4.6.11 | Yes |
| 4.5 | 4.5.21 | Until 20 Feb 2027 |
| 4.4 | 4.4.28 | Until 17 Dec 2026 |
| 4.3 | 4.3.23 | Ended 6 May 2026 |
| 4.2 | 4.2.29 | Ended 8 Jan 2026 |
From endoflife.date.
Vulnerabilities in Mastodon
- In our list
- 63
- Published in the last 12 months
- 30
- Critical, last 12 months
- 1
- High, last 12 months
- 11
- Known exploited
- 0
- GHSA-qp4r-p842-mw5cClient IP address spoofing and block/rate-limit bypassMedium 6.5 3 Nov 2026
- GHSA-cf49-73r7-rxj6Denial of service in JSON-LD processing of pathologic activitiesMedium 5.3 3 Nov 2026
- GHSA-3xjw-gv43-3w62Password verification bypass when logging into inactive accountsHigh 3 Nov 2026
- GHSA-288h-6j8h-6x5jInsufficient ActivityPub identifier verificationCritical 29 Oct 2026
- GHSA-vgm8-frgh-rh2vDenial of service in JSON-LD processing of pathologic activitiesMedium 5.3 10 Sept 2026
- GHSA-62j4-hvj7-px3fDisabling a staff account does not remove its access to the admin APIHigh 7.2 2 Sept 2026
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