High severity7.8NVD Advisory· Published Dec 8, 2021· Updated Jun 17, 2026
CVE-2021-37941
CVE-2021-37941
Description
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
elastic-apmPyPI | >= 1.10.0, < 1.27.0 | 1.27.0 |
Affected products
3- Range: 1.10.0 through 1.26.0
Patches
Vulnerability mechanics
References
3- discuss.elastic.co/t/apm-java-agent-security-update/289627nvdVendor AdvisoryWEB
- github.com/advisories/GHSA-r562-m862-63w3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-37941ghsaADVISORY
News mentions
0No linked articles in our index yet.