CVE-2025-10622
8.0Red Hat · Satellite / Foreman
A command injection vulnerability in the Foreman component of Red Hat Satellite allows authenticated users with specific permissions to execute arbitrary OS commands.
Executive summary
A high-severity OS command injection vulnerability in Red Hat Satellite and Foreman allows authenticated attackers to gain remote code execution on the underlying server.
Vulnerability
This vulnerability is an OS Command Injection (CWE-78) flaw caused by insufficient server-side validation of command whitelisting. It requires an attacker to possess authenticated access with edit_settings permissions to trigger the payload.
Business impact
The ability to execute arbitrary commands on the underlying operating system poses a critical risk to infrastructure integrity. A successful exploit can lead to full system compromise, unauthorized data exfiltration, or the deployment of persistent backdoors within the management environment. Given the CVSS score of 8.0, this flaw represents a significant risk to centralized configuration and lifecycle management systems.
Remediation
Immediate Action: Update Red Hat Satellite and Foreman to the versions specified in the Red Hat security advisories (RHSA-2025:19721 and related errata) to patch the underlying command validation logic.
Proactive Monitoring: Monitor system logs for unauthorized configuration changes or unexpected process execution spawned by the Foreman user account.
Compensating Controls: Restrict administrative access to the Foreman dashboard by enforcing strict access control lists and ensuring that only highly trusted users hold the edit_settings permission.
Exploitation status
Public Exploit Available: No (exploit_available: false)
Analyst recommendation
Organizations utilizing Red Hat Satellite or Foreman must prioritize this update due to the potential for full system control. Administrators should verify their current version against the fixed release criteria and apply the vendor-provided security errata during the next maintenance window to eliminate the command injection risk.
More Red Hat CVEs
Sources
Originally found and disclosed by Red Hat would like to thank Michał Bartoszuk (stmcyber.pl) for reporting this issue., per the CVE Program record.
- RHSA-2025:19721 Vendor advisory
- RHSA-2025:19832 Vendor advisory
- RHSA-2025:19855 Vendor advisory
- RHSA-2025:19856 Vendor advisory
- Vulnerability database entry
- RHBZ#2396020 Issue tracker
- theforeman.org