CVE-2025-0712 in Elastic Apm Server
An uncontrolled search path element vulnerability can lead to local privilege Escalation (LPE) via Insecure Directory Permissions. The vulnerability arises from improper handling of directory permissions. An attacker with local access may exploit this flaw to move and delete arbitrary files, potentially gaining SYST...
Affects 1 product from 3 vendors. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Elastic | Apm Server | ≥ 8.16, ≤ 8.16.2 ≥ 8.17, ≤ 8.17.0 |
| Element | — | — |
| Search | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An uncontrolled search path element vulnerability can lead to local privilege Escalation (LPE) via Insecure Directory Permissions. The vulnerability arises from improper handling of directory permissions. An attacker with local access may exploit this flaw to move and delete arbitrary files, potentially gaining SYSTEM privileges.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-0712 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-210654-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-07-30 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-427: CWE-427
Related attack patterns (CAPEC)
CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-427
CAPEC-471 Search Order Hijacking via CWE-427
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An uncontrolled search path element vulnerability in the system can lead to local privilege escalation (LPE) due to insecure directory permissions, allowing an attacker with local access to potentially gain SYSTEM privileges.
The vulnerability arises from improper handling of directory permissions, enabling an attacker to manipulate the search path and execute malicious code with elevated privileges.
Questions
What is CVE-2025-0712?
An uncontrolled search path element vulnerability in the system can lead to local privilege escalation (LPE) due to insecure directory permissions, allowing an attacker with local access to potentially gain SYSTEM privileges.
What is the CVSS score for CVE-2025-0712?
CVE-2025-0712 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2025-0712 actively exploited?
No confirmed active exploitation of CVE-2025-0712 as of 2026-09-25.
How do I remediate CVE-2025-0712?
Priority: HIGH. Advisory: https://discuss.elastic.co/t/beats-windows-installer-9-1-0-security-update-esa-2025-12/380558
What systems are affected by CVE-2025-0712?
CVE-2025-0712 affects Elastic Apm Server; Element; Search.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Elastic","product":"Apm Server","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.