# CVE-2026-22245: Mastodon has SSRF Protection bypass

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA: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.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-01-08T15:23:13.639Z
- Modified: 2026-09-08T08:48:12.916Z
- Also known as: BIT-MASTODON-2026-22245, GHSA-xfrj-c749-jxxq
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Mastodon is a free, open-source social network server based on ActivityPub. By nature, Mastodon performs a lot of outbound requests to user-provided domains. Mastodon, however, has some protection mechanism to disallow requests to local IP addresses (unless specified in `ALLOWED_PRIVATE_ADDRESSES`) to avoid the "confused deputy" problem. The list of disallowed IP address ranges was lacking some IP address ranges that can be used to reach local IP addresses. An attacker can use an IP address in the affected ranges to make Mastodon perform HTTP requests against loopback or local network hosts, potentially allowing access to otherwise private resources and services. This is fixed in Mastodon v4.5.4, v4.4.11, v4.3.17 and v4.2.29.

(As written by CVE List.)

## Affected

- mastodon mastodon: < 4.2.29; >= 4.3.0-beta.1, < 4.3.17; >= 4.4.0-beta.1, < 4.4.11; >= 4.5.0-beta.1, < 4.5.4
- joinmastodon mastodon: before 4.2.29; from 4.3.0 before 4.3.17; from 4.4.0 before 4.4.11; from 4.5.0 before 4.5.4
- mastodon (Bitnami): before 4.2.29; from 4.3.0 before 4.3.17; from 4.4.0 before 4.4.11; from 4.5.0 before 4.5.4

## Every score

- GitHub_M: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/mastodon/mastodon/security/advisories/GHSA-xfrj-c749-jxxq> (advisory, vendor-advisory)
- <https://github.com/mastodon/mastodon/commit/0f4e8a6240b5af1f2c3f34d2793d8610c6ef2aca> (fix, patch)
- <https://github.com/mastodon/mastodon/commit/17022907866710a72a1b1fc0a5ce9538bad1b4c3> (fix, patch)
- <https://github.com/mastodon/mastodon/commit/71ae4cf2cf5138ccdda64b1b1d665849b688686d> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22245> (web)

## Sources

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

---

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