Skip to main content

batteryKid CVE-2025-9815

HIGH
Improper Authentication (CWE-287)
2025-09-02 cna@vuldb.com
7.1
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local user credentials
  2. Delivery
    Identify running PrivilegeHelper XPC service
  3. Exploit
    Craft malicious XPC connection
  4. Execution
    Bypass authentication in NSXPCListener
  5. Persist
    Execute privileged operations as root
  6. Impact
    Escalate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Mar 28, 2026 - 19:10 CVSS 8.5

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

Vendor (vuldb) PRIMARY 7.1 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Analysis Updated
Apr 29, 2026 - 01:16 vuln.today
v2 - CVSS changed
CVSS changed
Apr 29, 2026 - 01:11 NVD
8.5 (HIGH) 7.1 (HIGH)
PoC Detected
Sep 04, 2025 - 16:13 vuln.today
Public exploit code
CVE Published
Sep 02, 2025 - 05:15 nvd
HIGH 8.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.1%
Top 83% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:alaneuler:batterykid:*:*:*:*:*:*:*:*

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