All vulnerabilities

Servers and applications

CVE-2026-72916

SSRF Protection Bypass via IPv4-compatible IPv6 Addresses

Severity
Medium
Published
27 Jul 2026
Last changed
18 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.4.21, 4.5.14, 4.6.4
Exploit chance
1% in the next 30 daysHigher than 62% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Server-side request forgery (CWE-918)CWE-1286
Also known as
GHSA-vwhj-3g83-v276
Sources
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 the IPv4-compatible IPv6 address range that can be used to reach local IP addresses on specific configurations.

An attacker can use an IP address in the affected range to make Mastodon perform HTTP requests against loopback interfaces, potentially allowing access to otherwise private resources and services. However, this can only be exploited on systems that support IPv4-compatible IPv6 addresses, which is an obsolete mechanism that is typically not enabled on modern systems.

From mastodon/mastodon's security advisory.

Affected software

SoftwareAffected versions
MastodonServers and applications · github:mastodon/mastodon
  • Every version before 4.4.21
  • From 4.5.0-alpha.1 before 4.5.14
  • From 4.6.0-alpha.1 before 4.6.4
  • Version 4.7.0-alpha.1

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