PYSEC-2026-634
Dashboard / Vulnerabilities / PYSEC-2026-634
PYSEC-2026-634
Summary: APM Java Agent Local Privilege Escalation
Details: 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
References: https://nvd.nist.gov/vuln/detail/CVE-2021-37941, https://discuss.elastic.co/t/apm-java-agent-security-update/289627, https://github.com/elastic/apm-agent-python, https://pypi.org/project/elastic-apm, https://github.com/advisories/GHSA-r562-m862-63w3
Affected packages
Package
Name: elastic-apm
Purl: pkg:pypi/elastic-apm
Affected ranges
Type: ECOSYSTEM
Events:
