CVE-2021-37941

HIGH
7.8
CVSS Score
Published: December 8, 2021 at 09:15 PM UTC
Updated: June 17, 2026 at 04:01 AM UTC
1 product affected across 1 vendorApm Agent

Using APM Java Agent by Elastic?

Get instant alerts when new vulnerabilities affect APM Java Agent - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Apm Agent· Elasticelastic-plugin
95%
v ≤ 1.26.01.10.0 ≤ v ≤ 1.26.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-269

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card