# CVE-2026-47389: Mastodon: SSRF protection bypass on older Ruby versions

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-06-24T19:41:21.150Z
- Modified: 2026-07-08T08:26:11.119Z
- Also known as: BIT-MASTODON-2026-47389, GHSA-xx55-4rrg-8xg6
- Weaknesses: CWE-184, CWE-200, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- mastodon mastodon: >= 4.5.0-beta.1, < 4.5.10
- mastodon (Bitnami): from 4.5.0 before 4.5.10

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/mastodon/mastodon/security/advisories/GHSA-xx55-4rrg-8xg6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47389> (web)

## Sources

- CVE List: [CVE-2026-47389](https://www.cve.org/CVERecord?id=CVE-2026-47389), CVE Terms of Use, modified 2026-06-25
- NVD: [CVE-2026-47389](https://nvd.nist.gov/vuln/detail/CVE-2026-47389), Public domain, modified 2026-06-25
- Bitnami Vulnerability Database: [BIT-MASTODON-2026-47389](https://osv.dev/vulnerability/BIT-MASTODON-2026-47389), Apache-2.0, modified 2026-07-08

---

Page: https://cve.day/CVE-2026-47389 · Whole record: https://cve.day/CVE-2026-47389.json · Rebuilt by cve.day 2026-11-25T22:59:25.730Z
