CVE-2025-64166
Last modified
CVE-2025-64166 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Mercurius is a GraphQL adapter for Fastify. Prior to version 16.4.0, a cross-site request forgery (CSRF) vulnerability was identified. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
Mercurius is a GraphQL adapter for Fastify. Prior to version 16.4.0, a cross-site request forgery (CSRF) vulnerability was identified. The issue arises from incorrect parsing of the Content-Type header in requests. Specifically, requests with Content-Type values such as application/x-www-form-urlencoded, multipart/form-data, or text/plain could be misinterpreted as application/json. This misinterpretation bypasses the preflight checks performed by the fetch() API, potentially allowing unauthorized actions to be performed on behalf of an authenticated user. This issue has been patched in version 16.4.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mercurius Project | Mercurius | < 16.4.0 |
References
- https://github.com/mercurius-js/mercurius/pull/1187Issue Tracking, Patch
- https://github.com/mercurius-js/mercurius/security/advisories/GHSA-v66j-6wwf-jc57Exploit, Patch, Vendor Advisory
- https://github.com/mercurius-js/mercurius/security/advisories/GHSA-v66j-6wwf-jc57Exploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-64166?
How severe is CVE-2025-64166?
How do I fix CVE-2025-64166?
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 2025
- CVE-2025-6416A vulnerability, which was classified as critical, was found…8.8
- CVE-2025-64160Rejected reason: Not used
- CVE-2025-64161Rejected reason: Not used
- CVE-2025-64162Rejected reason: Not used
- CVE-2025-64163DataEase is an open source data visualization analysis tool.…9.8
- CVE-2025-64164Dataease is an open source data visualization analysis tool.…9.8
- CVE-2025-64167Combodo iTop is a web based IT service management tool. Vers…6.1
- CVE-2025-64168Agno is a multi-agent framework, runtime and control plane. …7.1
- CVE-2025-64169Wazuh is a free and open source platform used for threat pre…4.9
- CVE-2025-6417A vulnerability has been found in PHPGurukul Art Gallery Man…8.8
- CVE-2025-64170sudo-rs is a memory safe implementation of sudo and su writt…3.8
- CVE-2025-64171MARIN3R is a lightweight, CRD based envoy control plane for …8.7
Are you affected by CVE-2025-64166?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
