CVE-2026-72916

Source
https://cve.org/CVERecord?id=CVE-2026-72916
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-72916.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-72916
Aliases
  • GHSA-vwhj-3g83-v276
Published
2026-08-10T21:19:02.908Z
Modified
2026-08-12T04:24:51.972864397Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L CVSS Calculator
Summary
Mastodon: SSRF Protection Bypass via IPv4-compatible IPv6 Addresses
Details

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.privateaddress? in app/lib/privateaddresscheck.rb normalized IPv4-mapped IPv6 addresses but did not recognize IPv4-compatible IPv6 addresses with IPAddr#ipv4compat?. An attacker could supply an address in the omitted range to bypass the ALLOWEDPRIVATEADDRESSES 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72916.json",
    "cwe_ids": [
        "CWE-1286",
        "CWE-918"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/mastodon/mastodon

Affected ranges

Type
GIT
Repo
https://github.com/mastodon/mastodon
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "4.4.21"
        },
        {
            "introduced": "4.5.0-beta.1"
        },
        {
            "fixed": "4.5.14"
        },
        {
            "introduced": "4.6.0-beta.1"
        },
        {
            "fixed": "4.6.4"
        }
    ]
}

Affected versions

v0.*
v0.1.0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