Advisory record · GHSA-5xqm-hc45-f2g2

APM Java Agent Local Privilege Escalation issue

CVSS 7.0 HighEPSS 0.0025 · 16th percentile

Published by the GitHub Advisory Database at 22 Nov 2023, 03:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
co.elastic.apm:apm-agent-parentMaven>=1.18.0, <1.27.11.27.1
co.elastic.apm:elastic-apm-agentMaven>=1.18.0, <1.27.11.27.1
Identifiers
GHSA-5xqm-hc45-f2g2 · CVE-2021-37942
Weakness (CWE)
CWE-269
Published
22 Nov 2023
Updated
30 Sept 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Elastic APM Java agent packages apm-agent-parent and elastic-apm-agent, versions 1.18.0 up to but not including 1.27.1, are affected. A local user on the system can attach a malicious plugin to an application running the agent, which lets them execute code with higher permissions than their account normally has. Upgrade both packages to 1.27.1.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.0 High 3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CNA (elastic)
  • CISA KEV Not listed.
  • EPSS 0.0025, the 16th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:10 UTC First seen by agentprime
  2. 31 Oct 2026, 15:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.