CVE-2025-2157 Foreman: disclosure of executed commands and outputs in foreman / red hat satellite
Low-privileged users can access temporary files containing sensitive command outputs, leading to information disclosure and potential privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-2157?
CVE-2025-2157 is a low-severity vulnerability in Red Hat Satellite 6, published on 15 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in Foreman/Red Hat Satellite. Improper file permissions allow low-privileged OS users to monitor and access temporary files under /var/tmp, exposing sensitive command outputs, such as /etc/shadow. This issue can lead to information disclosure and privilege escalation if exploited effectively.
Weakness: CWE-922
Which versions are affected by CVE-2025-2157?
How do I fix CVE-2025-2157?
No fix has been published for CVE-2025-2157 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-2157 being exploited?
There is no known exploitation of CVE-2025-2157 in the wild and no public exploit code.
Sources
Also known as GHSA-f324-3fxj-hh78.