cve.bz

CVE-2025-10622 the foreman foreman: OS Command Injection

8.0 highEPSS 0.7%Fix available

High (8.0) in the foreman foreman. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in Red Hat Satellite (Foreman component). This vulnerability allows an authenticated user with edit_settings permissions to achieve arbitrary command execution on the underlying operating system via insufficient server-side validation of command whitelisting.

Severity

CVSS 3.1

8.0 high
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-11-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Satellite 6.15 for RHEL 8: fixed in 0:3.9.1.13-1.el8sat
  • Red Hat Red Hat Satellite 6.16 for RHEL 8: fixed in 0:3.12.0.11-1.el8sat
  • Red Hat Red Hat Satellite 6.16 for RHEL 9: fixed in 0:3.12.0.11-1.el9sat
  • Red Hat Red Hat Satellite 6.17 for RHEL 9: fixed in 0:3.14.0.10-1.el9sat
  • Red Hat Red Hat Satellite 6.18 for RHEL 9: fixed in 0:3.16.0.4-1.el9sat
  • Red Hat: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-10622 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-10622?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-10622?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-10622 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
The Foreman Foremanfrom 3.12.0 before 3.16.1

Fixed in

ProductFixed in
Red Hat Satellite 6.15 for RHEL 80:3.9.1.13-1.el8sat
Red Hat Satellite 6.16 for RHEL 80:3.12.0.11-1.el8sat
Red Hat Satellite 6.16 for RHEL 90:3.12.0.11-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:3.14.0.10-1.el9sat
Red Hat Satellite 6.18 for RHEL 90:3.16.0.4-1.el9sat

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatsatellite:6.15::el8foreman, foreman-cli, foreman-ec2 and 12 more0:3.9.1.13-1.el8satRHSA-2025:19856
Red Hatsatellite:6.15::el8, satellite_capsule:6.15::el8rubygem-rack0:2.2.20-1.el8satRHSA-2025:19856
Red Hatsatellite:6.16::el8foreman, foreman-cli, foreman-ec2 and 12 more0:3.12.0.11-1.el8satRHSA-2025:19855
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8rubygem-rack0:2.2.20-1.el8satRHSA-2025:19855
Red Hatsatellite:6.16::el9foreman, foreman-cli, foreman-ec2 and 12 more0:3.12.0.11-1.el9satRHSA-2025:19855
Red Hatsatellite:6.16::el9, satellite_capsule:6.16::el9rubygem-rack0:2.2.20-1.el9satRHSA-2025:19855
Red Hatsatellite:6.17::el9foreman, foreman-cli, foreman-ec2 and 12 more0:3.14.0.10-1.el9satRHSA-2025:19832
Red Hatsatellite:6.17::el9, satellite_capsule:6.17::el9rubygem-rack0:2.2.20-1.el9satRHSA-2025:19832
Red Hatsatellite:6.18::el9foreman, foreman-cli, foreman-ec2 and 11 more0:3.16.0.4-1.el9satRHSA-2025:19721
Red Hatsatellite_capsule:6.15::el8foreman, foreman-pcp, foreman-debug0:3.9.1.13-1.el8satRHSA-2025:19856
Red Hatsatellite_capsule:6.16::el8foreman, foreman-pcp, foreman-debug0:3.12.0.11-1.el8satRHSA-2025:19855
Red Hatsatellite_capsule:6.16::el9foreman, foreman-pcp, foreman-debug0:3.12.0.11-1.el9satRHSA-2025:19855
7 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated Important for Red Hat Satellite due to an OS command injection flaw in the Foreman component. An authenticated user with `edit_settings` permissions can bypass client-side whitelisting for `ct_location` and `fcct_location` parameters, leading to arbitrary command execution on the underlying operating system. This affects Red Hat Satellite versions 6.15, 6.16, 6.17, and 6.18.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Satellite 6.15 for RHEL 8foreman-0:3.9.1.13-1.el8satFixed 2025-11-06RHSA-2025:19856
Red Hat Satellite 6.16 for RHEL 8foreman-0:3.12.0.11-1.el8satFixed 2025-11-06RHSA-2025:19855
Red Hat Satellite 6.16 for RHEL 9foreman-0:3.12.0.11-1.el9satFixed 2025-11-06RHSA-2025:19855
Red Hat Satellite 6.17 for RHEL 9foreman-0:3.14.0.10-1.el9satFixed 2025-11-05RHSA-2025:19832
Red Hat Satellite 6.18 for RHEL 9foreman-0:3.16.0.4-1.el9satFixed 2025-11-04RHSA-2025:19721
Red Hat Satellite 6satellite:el8/foremanAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-10622.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON