Skip to main content
← All vulnerabilities
CVE-2021-37941GHSA-R562-M862-63W3PYSEC-2026-634

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 applica

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.27.0
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Elastic APM Java Agent

    1.10.0 through 1.26.0

  • elastic-apmPyPI

    From 1.10.0 · fixed in 1.27.0

References 1

discuss.elastic.co