Read the docs
TI-2026-51132 Aliases CVE-2026-72916

Mastodon: SSRF Protection Bypass via IPv4-compatible IPv6 Addresses

Priority LOW 30CWE-1286Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.4.21, 4.5.14, 4.6.4, and 4.7.0-beta.1, PrivateAddressCheck.private_address? in app/lib/private_address_check.rb normalized IPv4-mapped IPv6 addresses but did not recognize IPv4-compatible IPv6 addresses with IPAddr#ipv4_compat?. An attacker could supply an address in the omitted range to bypass the ALLOWED_PRIVATE_ADDRESSES protection and make Mastodon send HTTP requests to loopback interfaces, potentially accessing private resources and services. Exploitation requires a system that supports the obsolete IPv4-compatible IPv6 mechanism. This issue is fixed in versions 4.4.21, 4.5.14, 4.6.4, and 4.7.0-beta.1.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00974 62nd percentileScored 2026-11-07
Fix Fixed mastodon (mastodon): 4.4.21, 4.5.14, 4.6.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mastodonmastodonbefore 4.4.21; 4.5.0-beta.1 to before 4.5.14; 4.6.0-beta.1 to before 4.6.44.4.21, 4.5.14, 4.6.4Patch availableCNA
  • mastodon Vendormastodon Affected before 4.4.21; 4.5.0-beta.1 to before 4.5.14; 4.6.0-beta.1 to before 4.6.4 Fixed in 4.4.21, 4.5.14, 4.6.4 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*——mastodon
  • cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* Versions — — ·mastodon

Remediation

  • Fix · CNA mastodon (mastodon) Fixed in 4.4.21, 4.5.14, 4.6.4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-72916
  2. 2026-10-31 EPSS moved to the 50th–90th percentile

References

  • TI-2022-02004 Improper Restriction of Excessive Authentication Attempts in mastodon/mastodon CVSS 3.1CRITICAL 9.8
  • TI-2025-34613 Mastodon e‑mail throttle misconfiguration allows unlimited email confirmations against unconfirmed emails CVSS 3.1HIGH 7.5
  • TI-2022-22936 Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull… CVSS 3.1HIGH 7.5
  • TI-2023-18301 Mastodon vulnerable to arbitrary file creation through media attachments CVSS 3.1CRITICAL 10.0
  • TI-2023-13359 Mastodon's blind LDAP injection in login allows the attacker to leak arbitrary attributes from LDAP database CVSS 3.1HIGH 7.7
  • TI-2024-16846 External OpenID Connect Account Takeover by E-Mail Change in mastodon CVSS 3.1HIGH 7.4
See all 52 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences