Skip to main content

CVE-2025-6512

| EUVDEUVD-2025-18870 CRITICAL
Code Injection (CWE-94)
2025-06-23 0beee27a-7d8c-424f-8e46-ac453fa147e6
10.0
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents maximum real-world risk across all assessment frameworks. The CVSS 10.0 score reflects: Network attack vector (AV:N), Low attack complexity (AC:L), No privilege requirement (PR:N), No user interaction (UI:N), and scope change with complete confidentiality, integrity, and availability impact (C:H/I:H/A:H). The absence of authentication requirements combined with network accessibility creates an immediately exploitable condition. The CVSS parameters indicate this is not a theoretical high-score vulnerability—it represents practical, trivial exploitation. Without access to EPSS data or KEV/POC confirmation in the provided information, the inherent exploit characteristics (no barriers to exploitation, immediate impact, network-accessible) strongly suggest this would receive high EPSS probability scores and would likely be present in active threat intelligence databases. Under SSVC framework: exploitation is undoubtedly possible, the attack is fully automatable (script injection), and technical impact is complete system compromise.

Exploit ScenarioDerived

An attacker on the network crafts a malicious report file containing embedded shell commands or executable scripts (PowerShell, batch, etc.). The attacker either uploads this directly to a BRAIN2 client accessible on the network, or tricks a non-admin user into importing it. When the BRAIN2 server processes this report (either automatically on a schedule or when manually triggered by an admin), the embedded script executes with the server's administrative privileges, allowing the attacker to achieve remote code execution as SYSTEM/root. From this position, the attacker can exfiltrate sensitive data, modify reports and system configurations, establish persistent backdoors, or pivot to other network resources. The entire attack requires no authentication and no user interaction beyond the initial report file placement, making it trivially exploitable at scale.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 15, 2026

CVE-2025-6512 is a critical privilege escalation vulnerability in BRAIN2 where unauthenticated attackers can inject malicious scripts into reports on non-admin client systems, which are then executed with administrator privileges on the BRAIN2 server. This represents a complete system compromise with CVSS 10.0 severity, affecting all users regardless of their local privilege level. No authentication is required to exploit this vulnerability, making it immediately exploitable in network environments.

RemediationAI

Immediate actions: (1) Restrict network access to BRAIN2 report processing services using network segmentation and firewall rules, allowing only trusted sources. (2) Disable report execution features if not critical to operations until patching is available. (3) Implement strict input validation and sanitization for all report file uploads, rejecting files with embedded scripts. (4) Apply the latest BRAIN2 security patches from the vendor (contact BRAIN2 vendor for CVE-2025-6512 specific patch availability and version numbers). (5) Review and restrict report creation permissions to trusted administrative users only. (6) Implement execution policies preventing script execution in report contexts, or execute reports in isolated/sandboxed environments with minimal privileges.

Affected VersionsENISA

BRAIN2 0.0 <3.06

Affected Packages

euvd brain2 fix: 3.06

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is rooted in CWE-94 (Improper Control of Generation of Code - Code Injection), where the BRAIN2 application fails to properly sanitize or validate script content embedded in report files before execution. The attack vector is network-based with no interaction required, indicating the vulnerability likely exists in a report processing or import mechanism accessible over the network. The vulnerability chain involves: (1) a non-admin user or external attacker crafting a malicious report file containing executable code, (2) integration of this script into the BRAIN2 reporting system, and (3) subsequent execution of the report on the BRAIN2 server under administrative context without proper validation. The root cause is insufficient input validation and improper privilege separation between report creation/modification contexts and report execution contexts.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 10.0 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 05:53 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
3.06
CVE Published
Jun 23, 2025 - 13:15 nvd
CRITICAL 10.0

DescriptionCVE.org

On a client with a non-admin user, a script can be integrated into a report. The reports could later be executed on the BRAIN2 server with administrator rights.

Executive ViewAI

Why It Matters

CVE-2025-6512 is a critical privilege escalation flaw in BRAIN2 that allows unauthenticated attackers to execute arbitrary code with administrator privileges on the server by injecting malicious scripts into client reports. This vulnerability enables complete system compromise and poses an immediate risk to all BRAIN2 deployments, regardless of user privilege level. Immediate patching is required to prevent unauthorized access to sensitive data and infrastructure.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Interim mitigations pending patch deployment: restrict network access to BRAIN2 services to authenticated corporate networks only; disable or restrict report import functionality if operationally feasible; implement network segmentation to limit BRAIN2 server lateral movement to critical assets.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy