{"id":"CVE-2026-47389","aliases":["CVE-2026-47389","BIT-MASTODON-2026-47389","GHSA-xx55-4rrg-8xg6"],"related":[],"kind":"vulnerability","state":"published","title":"Mastodon: SSRF protection bypass on older Ruby versions","summary":"Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.5.10, 4.4.17, and 4.3.23, when using Ruby versions older than 3.4, PrivateAddressCheck.private_address? returns false for IPv4-mapped IPv6 addresses (::ffff:a.b.c.d) corresponding to some private IPv4 addresses, depending on Ruby version, this can include loopback, RFC1918 private networks, and link-local space. An attacker who controls DNS for any domain can publish an AAAA record with such a mapped address; any outbound HTTP fetch Mastodon performs against that hostname then opens a real TCP connection to the underlying IPv4 address, including 127.0.0.1 and cloud-metadata endpoints such as 169.254.169.254. This vulnerability is fixed in 4.5.10, 4.4.17, and 4.3.23.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.5.10, 4.4.17, and 4.3.23, when using Ruby versions older than 3.4, PrivateAddressCheck.private_address? returns false for IPv4-mapped IPv6 addresses (::ffff:a.b.c.d) corresponding to some private IPv4 addresses, depending on Ruby version, this can include loopback, RFC1918 private networks, and link-local space. An attacker who controls DNS for any domain can publish an AAAA record with such a mapped address; any outbound HTTP fetch Mastodon performs against that hostname then opens a real TCP connection to the underlying IPv4 address, including 127.0.0.1 and cloud-metadata endpoints such as 169.254.169.254. This vulnerability is fixed in 4.5.10, 4.4.17, and 4.3.23.","source":"cvelist"}],"published":"2026-06-24T19:41:21.150Z","modified":"2026-07-08T08:26:11.119Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-184","CWE-200","CWE-918"],"affected":[{"ranges":[{"version":">= 4.5.0-beta.1, < 4.5.10","status":"affected"}],"vendor":"mastodon","product":"mastodon","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.5.0","status":"affected","fixed":"4.5.10"}],"ecosystem":"Bitnami","package":"mastodon","purl":"pkg:bitnami/mastodon","source":"bitnami"}],"references":[{"url":"https://github.com/mastodon/mastodon/security/advisories/GHSA-xx55-4rrg-8xg6","tags":["web","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47389","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-25T15:40:23.069Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47389","url":"https://www.cve.org/CVERecord?id=CVE-2026-47389","licence":"CVE Terms of Use","modified":"2026-06-25T15:40:38.972Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47389","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47389","licence":"Public domain","modified":"2026-06-25T17:16:39.340Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MASTODON-2026-47389","url":"https://osv.dev/vulnerability/BIT-MASTODON-2026-47389","licence":"Apache-2.0","modified":"2026-07-08T08:26:11.119Z"}],"updatedAt":"2026-11-25T22:59:25.730Z","epss":{"score":0.00232,"percentile":0.15076,"date":"2026-12-01T12:00:22.000Z"}}