Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-27477

CVE-2026-27477: Joinmastodon Mastodon SSRF Vulnerability

CVE-2026-27477 is an SSRF vulnerability in Joinmastodon Mastodon affecting the experimental FASP feature. Attackers can force internal requests through malicious base_url registration. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 27, 2026

CVE-2026-27477 Overview

CVE-2026-27477 is a Server-Side Request Forgery (SSRF) vulnerability affecting Mastodon, the free, open-source social network server based on ActivityPub. The vulnerability exists in the experimental FASP (Fediverse Auxiliary Service Providers) registration feature, where an unauthenticated attacker can register a FASP with an attacker-controlled base_url that includes or resolves to a local or internal address. This causes the Mastodon server to make unintended HTTP(S) requests to internal systems.

Critical Impact

Unauthenticated attackers can force Mastodon servers to make requests to internal network resources, potentially triggering vulnerabilities or undesired behavior in backend systems.

Affected Products

  • Mastodon versions 4.4.0 through 4.4.13
  • Mastodon versions 4.5.0 through 4.5.6
  • Only servers with EXPERIMENTAL_FEATURES environment variable including fasp

Discovery Timeline

  • 2026-02-24 - CVE-2026-27477 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-27477

Vulnerability Analysis

This SSRF vulnerability (CWE-918) exists in the FASP registration workflow of Mastodon. The FASP feature, still in experimental status, allows third-party service providers to register with Mastodon instances. While registration requires manual administrator approval, the vulnerability occurs during the initial registration phase before approval takes place.

An unauthenticated attacker can submit a FASP registration request with a malicious base_url parameter pointing to internal network addresses (such as 127.0.0.1, localhost, or private IP ranges). The Mastodon server then makes HTTP(S) requests to these internal addresses when processing the registration. Although the attacker cannot control the complete URL path (only the prefix) and cannot observe the responses, the ability to trigger requests to internal services can lead to serious consequences including triggering vulnerabilities in backend systems, accessing metadata services, or causing unintended side effects.

Root Cause

The root cause is insufficient validation of the base_url parameter in FASP registration requests. The original implementation used the standard HTTP library socket class directly without the SSRF protections implemented in Mastodon's custom Request::Socket class. This custom socket class contains safeguards against requests to internal and private IP addresses, but the FASP request handling code bypassed these protections.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker submits a FASP registration request to a vulnerable Mastodon server with a base_url pointing to an internal service:

  1. Attacker identifies a Mastodon instance with the experimental FASP feature enabled
  2. Attacker crafts a FASP registration request with a malicious base_url (e.g., http://169.254.169.254/ for cloud metadata services or http://127.0.0.1:6379/ for internal Redis)
  3. The Mastodon server processes the registration and makes HTTP requests to the specified internal address
  4. While the attacker cannot see responses, internal services may execute commands or expose data through side effects

The fix re-uses Mastodon's existing custom socket class that includes SSRF protections:

ruby
     response = HTTP
       .headers(headers)
       .use(http_signature: { key:, covered_components: COVERED_COMPONENTS })
-      .send(verb, url, body:)
+      .send(verb, url, body:, socket_class: ::Request::Socket)

     validate!(response)
     @provider.delivery_failure_tracker.track_success!

Source: GitHub Commit 7b85d21

The patch modifies app/lib/fasp/request.rb to use the ::Request::Socket class instead of the default socket class. This ensures FASP requests go through the same SSRF filtering applied to other outbound requests in Mastodon.

Detection Methods for CVE-2026-27477

Indicators of Compromise

  • Unusual FASP registration requests with base_url values pointing to private IP ranges (10.x.x.x, 172.16-31.x.x, 192.168.x.x)
  • FASP registrations with base_url containing localhost, 127.0.0.1, or ::1
  • Outbound HTTP connections from the Mastodon server to internal services or cloud metadata endpoints (169.254.169.254)

Detection Strategies

  • Monitor FASP registration logs for suspicious base_url entries containing internal or private addresses
  • Implement network-level detection for outbound connections from Mastodon servers to private IP ranges
  • Review web server access logs for POST requests to FASP registration endpoints with unusual parameters
  • Alert on Mastodon server connections to common internal service ports (6379/Redis, 11211/Memcached, 5432/PostgreSQL)

Monitoring Recommendations

  • Enable verbose logging for FASP-related activities if the experimental feature is in use
  • Deploy network segmentation monitoring to detect unexpected internal traffic from DMZ-hosted Mastodon instances
  • Configure cloud provider security tools to alert on metadata service access from application servers

How to Mitigate CVE-2026-27477

Immediate Actions Required

  • Update Mastodon to version 4.4.14 or 4.5.7 immediately if using the experimental FASP feature
  • If unable to update immediately, disable the FASP feature by removing fasp from the EXPERIMENTAL_FEATURES environment variable
  • Review FASP registration logs for any suspicious activity prior to patching
  • Audit network traffic from Mastodon servers to identify potential exploitation attempts

Patch Information

The fix is included in Mastodon versions 4.4.14 and 4.5.7. The patch modifies the FASP request handling in app/lib/fasp/request.rb to use the custom Request::Socket class that implements SSRF protections. Administrators should obtain the update from the official Mastodon repository. For more details, see the GitHub Security Advisory GHSA-46w6-g98f-wxqm.

Workarounds

  • Disable the experimental FASP feature by modifying the EXPERIMENTAL_FEATURES environment variable to exclude fasp
  • Implement network-level controls to prevent the Mastodon server from connecting to internal networks
  • Deploy a web application firewall (WAF) to filter FASP registration requests containing internal IP addresses
bash
# Disable FASP feature in Mastodon environment
# Remove 'fasp' from EXPERIMENTAL_FEATURES in your .env.production file
# Example - if your current setting is:
# EXPERIMENTAL_FEATURES=fasp,other_feature
# Change to:
# EXPERIMENTAL_FEATURES=other_feature

# Restart Mastodon services after modification
systemctl restart mastodon-web mastodon-sidekiq mastodon-streaming

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechMastodon

  • SeverityMEDIUM

  • CVSS Score4.6

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-46w6-g98f-wxqm
  • Related CVEs
  • CVE-2026-22245: Mastodon SSRF Vulnerability

  • CVE-2026-41259: Mastodon Auth Bypass Vulnerability

  • CVE-2026-33868: Mastodon Auth Bypass Vulnerability

  • CVE-2026-33869: Mastodon Authentication Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English