CVE Watchtower

CVE-2026-72916mastodon Server-Side Request Forgery (SSRF)

NVD

Vulnerability 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.
Severity Level
MEDIUM
Published Date
Aug 10, 2026
Last Modified
Aug 13, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.36%Probability
Root Weakness (CWE)
The web server receives a URL or similar request from an upstream component and retrieves its contents, but does not sufficiently ensure that the request is being sent to the expected destination.
The product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax.

Affected & Patched Versions

Affected Versions
  • mastodon < 4.4.21
  • mastodon >= 4.5.0-alpha.1, < 4.5.14
  • mastodon >= 4.6.0-alpha.1, < 4.6.4
  • mastodon 4.7.0-alpha.1
Patched Versions
  • mastodon 4.4.21
  • mastodon 4.5.14
  • mastodon 4.6.4
  • mastodon 4.7.0-alpha.2

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run mastodon and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Aug 10, 2026Published
  • Aug 13, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new mastodon CVEsYou are reading CVE-2026-72916. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 25, 2026 03:27 UTC