batteryKid
CVE-2025-9815
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local user credentials
-
DeliveryIdentify running PrivilegeHelper XPC service
-
ExploitCraft malicious XPC connection
-
ExecutionBypass authentication in NSXPCListener
-
PersistExecute privileged operations as root
-
ImpactEscalate privileges system-wide
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Local authenticated access to a macOS system with batteryKid versions up to 2.1 installed is required. The attacker must have an active user account with at least low-privilege (PR:L) login credentials, such as a standard (non-admin) macOS user account. The batteryKid PrivilegeHelper service must be running, which occurs when batteryKid is installed and the privileged helper is registered with launchd. No user interaction (UI:N) or special configuration is needed beyond default batteryKid installation. Exploitation is limited to the local system (AV:L) and cannot be performed remotely. Attack complexity is low (AC:L/AT:N), meaning exploitation is straightforward once local access is obtained. The vulnerability does not require the main batteryKid application to be actively running, only the privileged helper service. |
| Impact | Real-world risk is moderate despite the 7.1 CVSS score. The CVSS vector (AV:L/AC:L/PR:L) requires local access with low-privilege authentication, significantly limiting the attack surface compared to remotely exploitable vulnerabilities. The publicly available POC on GitHub confirms exploitability and provides step-by-step exploitation instructions, reducing the skill level required for attack. However, EPSS score of 0.05% (17th percentile) suggests very limited real-world exploitation activity, likely because: (1) the product is a niche open-source macOS utility with a small user base, (2) the local attack vector requires prior system access, making this useful primarily as a privilege escalation step in multi-stage attacks rather than initial compromise, and (3) no CISA KEV listing indicates no evidence of widespread or targeted exploitation campaigns. The high impact ratings (VC:H/VI:H/VA:H) mean successful exploitation grants significant control, but the prerequisite of already having local user access means this is primarily a concern for: shared macOS systems, environments where batteryKid is deployed on endpoints with multiple user accounts, or as a secondary payload after initial access via phishing/malware. Organizations not using batteryKid face zero risk. For those using it, immediate patching is warranted given POC availability and the complete bypass of privilege separation controls. |
| Exploit ScenarioDerived | An attacker with standard user credentials on a shared macOS system (such as a corporate workstation or educational lab computer) where batteryKid is installed first identifies the vulnerable NSXPCListener service running with elevated privileges. Using the publicly available POC from github.com/SwayZGl1tZyyy/n-days, the attacker crafts malicious XPC messages to the PrivilegeHelper component, bypassing authentication checks due to missing caller validation. The helper executes privileged operations on behalf of the attacker's unprivileged process, granting root-level access to system resources, allowing installation of persistent backdoors, modification of system configurations, or access to other users' data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 29, 2026
Missing authentication in the NSXPCListener implementation of batteryKid for macOS allows local authenticated attackers to achieve high-impact privilege escalation. An unprivileged local user can exploit the PrivilegeHelper.swift component to bypass authentication controls and execute privileged operations, potentially gaining root-level access. Publicly available exploit code exists on GitHub (SwayZGl1tZyyy/n-days), lowering the skill barrier for exploitation. EPSS score is 5% (17th percentile), indicating relatively low widespread exploitation probability despite POC availability, likely due to the local attack vector and limited user base of this open-source macOS utility.
Earlier versions of this analysis (1)
A weakness has been identified in alaneuler batteryKid up to 2.1 on macOS. Rated high severity (CVSS 8.5), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.
RemediationAI
No vendor-released patch has been identified at the time of analysis. The batteryKid project repository (github.com/alaneuler/batteryKid) should be monitored for security updates addressing CVE-2025-9815. Until a patch is released, organizations should uninstall batteryKid from affected macOS systems, particularly from multi-user environments or systems handling sensitive data. If batteryKid functionality is business-critical, implement compensating controls: restrict local user accounts to only trusted personnel, enable macOS System Integrity Protection (SIP) to limit privileged helper abuse (note: SIP may not fully prevent XPC authentication bypass but adds defense layers), monitor process execution and XPC connections for anomalous privileged helper invocations using Endpoint Detection and Response (EDR) tools, and consider application sandboxing policies to limit what unprivileged processes can connect to privileged XPC services. These mitigations reduce but do not eliminate risk, as an authenticated local user can still potentially exploit the vulnerability. Removing batteryKid remains the most effective control until upstream fix is available.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects batteryKid versions up to 2.1, a macOS utility for battery management. The flaw resides in PrivilegeHelper/PrivilegeHelper.swift, which implements an NSXPCListener for inter-process communication between privileged and unprivileged processes. NSXPCListener is Apple's framework for secure IPC through Mach messages, commonly used for privilege separation where a helper tool runs with elevated rights while the main application runs with user privileges. CWE-287 (Improper Authentication) indicates the NSXPCListener implementation fails to properly validate the caller's identity before executing privileged operations. This is a classic XPC service authentication bypass where the helper does not verify that incoming XPC connections originate from the legitimate application or authorized processes. Without proper authentication checks (such as code signing validation, entitlement verification, or token-based authentication), any local process can connect to the privileged helper and invoke sensitive functions intended only for the main application.
Know when Batterykid gets its next vulnerability
- 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
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
Lifecycle Timeline
4DescriptionCVE.org
A weakness has been identified in alaneuler batteryKid up to 2.1 on macOS. The affected element is an unknown function of the file PrivilegeHelper/PrivilegeHelper.swift of the component NSXPCListener. This manipulation causes missing authentication. It is possible to launch the attack on the local host. The exploit has been made available to the public and could be exploited.
Executive ViewAI
CVE-2025-9815 affects batteryKid, a macOS utility, and allows local users to escalate privileges to root through a missing authentication flaw in the NSXPCListener implementation. Organizations using this open-source tool face risk of unauthorized administrative access on affected macOS systems; however, the EPSS score of 0.1% and local-only attack vector suggest limited near-term exploitation probability in enterprise environments.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict batteryKid installation to administrator-only systems where privilege escalation risk is acceptable; (2) disable NSXPCListener functionality if batteryKid alternative features are available; (3) monitor system audit logs for unauthorized privilege escalation attempts; (4) consider uninstalling batteryKid if operationally feasible pending patch availability.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB