Skip to content
Heist/ feed
Back to feed
Medium

Mastodon has SSRF via unvalidated FASP Provider base_url

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-27477
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:52 UTC · Revision 1

Source evidence

Mastodon has SSRF via unvalidated FASP Provider base_url

core-osv · Original source

Published 24 Feb 2026, 19:00 UTC

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.

osv:CVE-2026-27477
Complete source record
{
  "id": "a90c14a1e0805f60a140c84c972c3a708796a3367ca5f69fdc4ec05284e0f212",
  "url": "https://osv.dev/vulnerability/CVE-2026-27477",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Mastodon has SSRF via unvalidated FASP Provider base_url",
    "summary": "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.",
    "evidence": "osv:CVE-2026-27477",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-27477",
      "aliases": [
        "BIT-mastodon-2026-27477",
        "CVE-2026-27477",
        "GHSA-46w6-g98f-wxqm"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mastodon/mastodon",
              "type": "GIT",
              "events": [
                {
                  "introduced": "69e14246b838443985a541e97327494b8d2fdffb"
                },
                {
                  "fixed": "1e5ac0f4917f12f8caaaa9c13762a9d3e182c0f7"
                },
                {
                  "introduced": "26c78392f88afccebb8a88b68bc9994a9ce12648"
                },
                {
                  "fixed": "ab872f28b9ff8f09026461ed4874070f4e62be84"
                },
                {
                  "fixed": "7b85d2182361e68d51d9a02f94fb1070b5f503b1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.4.0"
                      },
                      {
                        "fixed": "4.4.14"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.5.0"
                      },
                      {
                        "fixed": "4.5.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7b85d2182361e68d51d9a02f94fb1070b5f503b1"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.5.6",
            "v4.4.13",
            "v4.4.12",
            "v4.5.5",
            "v4.5.4",
            "v4.4.11",
            "v4.5.3",
            "v4.4.10",
            "v4.5.2",
            "v4.4.9",
            "v4.5.1",
            "v4.5.0",
            "v4.4.8",
            "v4.4.7",
            "v4.4.6",
            "v4.4.5",
            "v4.4.4",
            "v4.4.3",
            "v4.4.2",
            "v4.4.1",
            "v4.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27477.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.042755790Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27477.json",
        "https://github.com/mastodon/mastodon/security/advisories/GHSA-46w6-g98f-wxqm",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-27477",
        "https://github.com/mastodon/mastodon/commit/7b85d2182361e68d51d9a02f94fb1070b5f503b1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27477.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-27477",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494681,
  "published_at": "2026-02-24T19:00:20.59+00:00"
}