CVE-2024-52976: Elastic Agent - Command Injection
- Cve: CVE-2024-52976
- Name: Elastic Agent - Command Injection
- Description: Inclusion of functionality from an untrusted control sphere in Elastic Agent subprocess, osqueryd, allows local attackers to execute arbitrary code via parameter injection. An attacker requires local access and the ability to modify osqueryd configurations.
- Impact: Local attackers can execute arbitrary code, potentially leading to system compromise or data tampering.
- Remediation: Update to the latest version of Elastic Agent with patched osqueryd component.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs local access and ability to modify configurations
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00204
- Epss percentile: 0.10363
- Assignee: [email protected]
- Published at: 2025-05-01T14:15:35Z
- Age in days: 572
- Modified at: 2026-06-17T08:07:57Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-52976
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere |
References
| Url | Source | Tags |
|---|---|---|
| https://discuss.elastic.co/t/elastic-agent-7-17-25-and-8-15-4-security-update-esa-2024-39/377708 | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| elastic:elastic_agent | >= 8.0.0, < 8.15.4; < 7.17.25 | no | nvd | /v1/products/elastic/elastic_agent |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts