# CVE-2026-27477: Mastodon has SSRF via unvalidated FASP Provider base\_url

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.6
- **CVSS:** 4.6 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.43% (percentile 29, 2026-11-26)
- **CWE:** CWE-918
- **Published:** 2026-02-24T19:00:20.590Z
- **Modified:** 2026-06-17T10:27:13.263Z

## Who should check

- Anyone running mastodon \>= 4.4.0, \< 4.4.14; \>= 4.5.0, \< 4.5.7

## Description

Mastodon is a free, open-source social network server based on ActivityPub. FASP registration requires manual approval by an administrator. In versions 4.4.0 through 4.4.13 and 4.5.0 through 4.5.6, an unauthenticated attacker can register a FASP with an attacker-chosen \`base\_url\` that includes or resolves to a local / internal address, leading to the Mastodon server making requests to that address. This only affects Mastodon servers that have opted in to testing the experimental FASP feature by setting the environment variable \`EXPERIMENTAL\_FEATURES\` to a value including \`fasp\`. An attacker can force the Mastodon server to make http(s) requests to internal systems. While they cannot control the full URL that is being requested (only the prefix) and cannot see the result of those requests, vulnerabilities or other undesired behavior could be triggered in those systems. The fix is included in the 4.4.14 and 4.5.7 releases. Admins that are actively testing the experimental "fasp" feature should update their systems. Servers not using the experimental feature flag \`fasp\` are not affected.

## Affected and fixed versions

- mastodon: \>= 4.4.0, \< 4.4.14; \>= 4.5.0, \< 4.5.7 (cvelist)

## Mitigation

- Upgrade mastodon to 4.5.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-27477. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-27477.md
Affected: mastodon >= 4.4.0, < 4.4.14; >= 4.5.0, < 4.5.7
Fixed in: mastodon 4.4.14, mastodon 4.5.7

Steps:
1. Search this machine and project for mastodon: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-27477 being exploited?

There is no confirmed exploitation: CVE-2026-27477 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-27477?

Medium: CVSS 4.6 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-27477?

mastodon \>= 4.4.0, \< 4.4.14; \>= 4.5.0, \< 4.5.7.

### Is there a fix for CVE-2026-27477?

Yes. Fixed in mastodon 4.4.14, mastodon 4.5.7. Upgrade mastodon to 4.5.7 or later.

### How do I check if I'm affected by CVE-2026-27477?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/mastodon/mastodon/security/advisories/GHSA-46w6-g98f-wxqm>
- patch: <https://github.com/mastodon/mastodon/commit/7b85d2182361e68d51d9a02f94fb1070b5f503b1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-27477>

HTML: <https://flawdb.com/CVE-2026-27477> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-27477>
