CVE-2025-61301
7.5CAPEv2 · CAPEv2
A denial of analysis vulnerability in CAPEv2 allows unauthenticated attackers to trigger MongoDB BSON limits or recursion errors by submitting specially crafted samples.
Executive summary
The CAPEv2 malware analysis platform is vulnerable to a denial of service condition that allows unauthenticated attackers to prevent the generation of behavioral analysis reports.
Vulnerability
This vulnerability occurs in the reporting/mongodb.py and reporting/jsondump.py files, where improperly handled, deeply nested, or oversized behavior data triggers resource exhaustion. An unauthenticated attacker can trigger this flaw simply by submitting a malicious sample for analysis.
Business impact
The successful exploitation of this vulnerability renders the CAPEv2 sandbox ineffective for its primary purpose, which is the behavioral analysis of malicious samples. By forcing the system to fail during report generation, attackers can blind security teams to the true nature of their malware. Given the CVSS score of 7.5, this represents a significant disruption to security operations and incident response workflows.
Remediation
Immediate Action: Users should restrict access to the sample submission interface to trusted users only and monitor the associated GitHub repository for an official patch release.
Proactive Monitoring: Security teams should monitor the CAPEv2 system logs for recurring MongoDB BSON limit errors or recursion depth exceptions during the analysis phase.
Compensating Controls: Implement strict input validation or size limits on submitted samples at the network perimeter or the ingestion layer to prevent oversized payloads from reaching the analysis engine.
Exploitation status
Public Exploit Available: Yes, a public proof-of-concept exists in the GitHub repository maintained by eGkritsis, which is cited in the vulnerability references.
Analyst recommendation
The severity of this vulnerability is elevated by the presence of a public proof-of-concept and the ease with which an unauthenticated attacker can disrupt sandbox operations. Organizations relying on CAPEv2 for threat intelligence and malware analysis must prioritize limiting access to the platform and applying vendor security updates as soon as they are made available to maintain the integrity of their analysis pipeline.