CVE-2026-25540
Last modified
CVE-2026-25540 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.3.19, 4.4.13, 4.5.6, Mastodon is vulnerable to web cache poisoning via `Rails.cache. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
Description
Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.3.19, 4.4.13, 4.5.6, Mastodon is vulnerable to web cache poisoning via `Rails.cache. When AUTHORIZED_FETCH is enabled, the ActivityPub endpoints for pinned posts and featured hashtags have contents that depend on the account that signed the HTTP request. However, these contents are stored in an internal cache and reused with no regards to the signing actor. As a result, an empty response generated for a blocked user account may be served to requests from legitimate non-blocked actors, or conversely, content intended for non-blocked actors may be returned to blocked actors. This issue has been patched in versions 4.3.19, 4.4.13, 4.5.6.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Joinmastodon | Mastodon | < 4.3.19 |
| Joinmastodon | Mastodon | >= 4.4.0, < 4.4.13 |
| Joinmastodon | Mastodon | >= 4.5.0, < 4.5.6 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-25540?
How severe is CVE-2026-25540?
How do I fix CVE-2026-25540?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-25535jsPDF is a library to generate PDFs in JavaScript. Prior to …7.5
- CVE-2026-25536MCP TypeScript SDK is the official TypeScript SDK for Model …7.1
- CVE-2026-25537jsonwebtoken is a JWT lib in rust. Prior to version 10.3.0, …7.5
- CVE-2026-25538Devtron is an open source tool integration platform for Kube…8.8
- CVE-2026-25539SiYuan is a personal knowledge management system. Prior to v…7.2
- CVE-2026-2554The WCFM – Frontend Manager for WooCommerce along with Booki…8.1
- CVE-2026-25541Bytes is a utility library for working with bytes. From vers…7.5
- CVE-2026-25542Tekton Pipelines project provides k8s-style resources for de…6.5
- CVE-2026-25543HtmlSanitizer is a .NET library for cleaning HTML fragments …6.1
- CVE-2026-25544Payload is a free and open source headless content managemen…9.8
- CVE-2026-25545Astro is a web framework. Prior to version 9.5.4, Server-Sid…8.6
- CVE-2026-25546Godot MCP is a Model Context Protocol (MCP) server for inter…7.8
Are you affected by CVE-2026-25540?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
