{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-10622 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-10622 is a high-severity command injection vulnerability in Red Hat Foreman, published on 5 Nov 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-10622 and fix it if it is affected.\n\nWhat it is: CVE-2025-10622 is a high-severity command injection vulnerability in Red Hat Foreman, published on 5 Nov 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-10622 in the wild and no public exploit code.\n\nAffected product: Red Hat Foreman. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-10622/ (Markdown: https://insights.sbomify.com/CVE-2025-10622/index.md)","id":"CVE-2025-10622","markdown":"https://insights.sbomify.com/CVE-2025-10622/index.md","name":"CVE-2025-10622","record":{"aliases":["GHSA-f5h4-c4jw-c4gm","RHSA-2025:19721"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Red Hat Satellite","requires_auth":"high_privilege","summary":"Authenticated users with edit_settings permissions can execute arbitrary OS commands via insufficient validation in Foreman parameters.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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.","ecosystems":["Red Hat:satellite:6.18::el9","Red Hat:satellite_capsule:6.18::el9","Red Hat:satellite_utils:6.18::el9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Foreman: os command injection via ct_location and fcct_location parameters","id":"CVE-2025-10622","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":19,"n_references":7,"next":{"headline":"SourceCodester Hotel Reservation System deleteuser.php sql injection","id":"CVE-2025-10623"},"packages":[{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman","purl":"pkg:rpm/redhat/foreman","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-cli","purl":"pkg:rpm/redhat/foreman-cli","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-debug","purl":"pkg:rpm/redhat/foreman-debug","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-dynflow-sidekiq","purl":"pkg:rpm/redhat/foreman-dynflow-sidekiq","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-ec2","purl":"pkg:rpm/redhat/foreman-ec2","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-journald","purl":"pkg:rpm/redhat/foreman-journald","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-libvirt","purl":"pkg:rpm/redhat/foreman-libvirt","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-openstack","purl":"pkg:rpm/redhat/foreman-openstack","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-pcp","purl":"pkg:rpm/redhat/foreman-pcp","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-postgresql","purl":"pkg:rpm/redhat/foreman-postgresql","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-redis","purl":"pkg:rpm/redhat/foreman-redis","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-service","purl":"pkg:rpm/redhat/foreman-service","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-telemetry","purl":"pkg:rpm/redhat/foreman-telemetry","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-vmware","purl":"pkg:rpm/redhat/foreman-vmware","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite_capsule:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman","purl":"pkg:rpm/redhat/foreman","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite_capsule:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-debug","purl":"pkg:rpm/redhat/foreman-debug","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite_capsule:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-pcp","purl":"pkg:rpm/redhat/foreman-pcp","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite_utils:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman","purl":"pkg:rpm/redhat/foreman","source":"RHSA-2025:19721"},{"ecosystem":"Red Hat:satellite_utils:6.18::el9","fixed":["0:3.16.0.4-1.el9sat"],"introduced":["0"],"last_affected":[],"package":"foreman-cli","purl":"pkg:rpm/redhat/foreman-cli","source":"RHSA-2025:19721"}],"prev":{"headline":"SourceCodester Hotel Reservation System editroomimage.php sql injection","id":"CVE-2025-10621"},"products":["Foreman","Red Hat Satellite 6","Red Hat Satellite 6.15 for RHEL 8","Red Hat Satellite 6.16 for RHEL 8","Red Hat Satellite 6.16 for RHEL 9","Red Hat Satellite 6.17 for RHEL 9","Red Hat Satellite 6.18 for RHEL 9"],"published":"2025-11-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Red Hat","The Foreman"]},"summary":"Authenticated users with edit_settings permissions can execute arbitrary OS commands via insufficient validation in Foreman parameters.","url":"https://insights.sbomify.com/CVE-2025-10622/"}