CVE-2021-37941
publishedAPM Java Agent vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Elastic | — | APM Java Agent1.10.0 through 1.26.0 | Affected | Not stated | elastic |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Elastic | APM Java Agent | 1.10.0 through 1.26.0 (affected) | elastic · cna |
Weaknesses
1- CWE-269
References
1Provider assertions
2elastic · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6c10fd634e4fbd1d9317a82dff86cebe9a11206d6078f21c916381687038bd15
- Ingested
- 23 Sep 2026, 07:55:20 UTC
- Source record
- Official CVE record