CVE-2026-46348
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedMastodon is a free, open-source social network server based on ActivityPub. Prior to 4.5.10, 4.4.17, and 4.3.23, the list of disallowed IP address ranges was lacking an IP address range that can be used to reach local IP addresses. An attacker can use an IP address in the affected range to make Mastodon perform HTTP requests against loopback interfaces, potentially allowing access to otherwise private resources and services. This vulnerability is fixed in 4.5.10, 4.4.17, and 4.3.23.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a Server-Side Request Forgery (SSRF) vulnerability in Mastodon where the IP blocklist used to prevent internal network access was incomplete, missing a range that can be used to reach loopback interfaces (127.0.0.0/8). Attackers can abuse this to make Mastodon server perform HTTP requests to internal services bound to localhost, potentially exposing sensitive internal resources.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine installed Mastodon versionRun 'git describe --tags' in the Mastodon directory, or check the VERSION file typically found at /home/mastodon/live/VERSION, or use the admin API endpoint /api/v1/instance if you have accessAffected if The installed version is earlier than 4.5.10, 4.4.17, or 4.3.23 (e.g., 4.5.9, 4.4.16, etc.)
-
Verify the instance accepts outgoing HTTP requestsCheck if the instance has features enabled that make outbound HTTP requests, such as OEmbed fetching, URL preview functionality, or any feature that fetches content from user-provided URLsAffected if The instance has any feature enabled that allows users to submit URLs for server-side fetching (URL preview, OEmbed, etc.)
-
Inspect the IP blocklist configurationLocate the IP blocking or filtering configuration in the Mastodon codebase - typically in lib/mastodon/ip_blocklist.rb or similar, and verify whether 127.0.0.0/8 is included in the blocked rangesAffected if The IP blocklist does NOT include the 127.0.0.0/8 CIDR range, meaning loopback addresses are not blocked
Your instance is affected if it runs a Mastodon version prior to 4.5.10/4.4.17/4.3.23 AND has features enabled that allow user-supplied URLs to trigger server-side HTTP requests, AND the IP blocklist configuration is missing the 127.0.0.0/8 loopback range.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Mastodon to version 4.5.10, 4.4.17, or 4.3.23 which contain the complete IP blocklist including the missing loopback range.
Upgrade to 4.5.10 (if on 4.5.x), 4.4.17 (if on 4.4.x), or 4.3.23 (if on 4.3.x or earlier)
- 1. Identify current Mastodon version by checking the /about page or running `git describe --tags` in the installation directory
- 2. Determine which upgrade path applies: if currently on 4.5.x, upgrade to 4.5.10; if on 4.4.x, upgrade to 4.4.17; if on 4.3.x or older, upgrade to 4.3.23 or later
- 3. Back up the Mastodon database and files before upgrading
- 4. For Docker installations: Update the image tag to the fixed version (e.g., `tootsuite/mastodon:v4.5.10`) and rebuild containers
- 5. For source installations: Run `git fetch --tags`, checkout the appropriate tag (e.g., `v4.5.10`), then run `bundle install` and `yarn install` followed by `RAILS_ENV=production bundle exec rails db:migrate`
- 6. Restart all Mastodon services (web, sidekiq, streaming)
- 7. Verify the upgrade by checking the version displayed on the /about page
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-46348 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-46348 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data