CVE-2021-37941: Elastic APM Agent
High severity, CVSS 7.8. EPSS: 0.2% chance of exploitation in the next 30 days.
A local privilege escalation issue was found with the APM Java agent, where a user on the system could attach a malicious file to an application running with the APM Java agent. Using this vector, a malicious or compromised user account could use the agent to run commands at a higher level of permissions than they possess. This vulnerability affects users that have set up the agent via the attacher cli 3, the attach API 2, as well as users that have enabled the profiling_inferred_spans_enabled option
Affected products
- Elastic APM Agent: from 1.10.0, up to and including 1.26.0
Published 2021-12-08. Last modified 2026-06-17.