CVE-2025-25013 Elastic Defend Insertion of Sensitive Information into Log Files

Medium 6.5 Published Updated

Attackers can expose sensitive API keys and tokens by exploiting improper environment variable filtering in Elastic Defend logs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-25013?

CVE-2025-25013 is a medium-severity vulnerability in Elastic Defend, published on 8 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper restriction of environment variables in Elastic Defend can lead to exposure of sensitive information such as API keys and tokens via automatic transmission of unfiltered environment variables to the stack.

Weakness: CWE-532

Which versions are affected by CVE-2025-25013?

How do I fix CVE-2025-25013?

No fix has been published for CVE-2025-25013 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-25013 being exploited?

There is no known exploitation of CVE-2025-25013 in the wild and no public exploit code.

Sources

Also known as GHSA-p999-j4hq-pmj3.

Is CVE-2025-25013 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free