Foreman: command injection in foreman-rake database tasks (Red Hat Red Hat Satellite 6.16 for RHEL 8)

CVE-2026-12541
HIGH 8.2

En bref

Source
NVD
EPSS
EPSS 1.24 % · centile 69 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Analyzed

Description

A flaw was found in Foreman. OS command injection vulnerabilities exist in the foreman-rake db:dump and db:import_dump tasks. The application fails to properly sanitize user-supplied input in the destination parameter (during backups) and the file parameter (during imports) before passing them to a Ruby system() call for execution. An attacker with permissions to execute foreman-rake (e.g., via a restricted sudo configuration) can append malicious shell commands to the provided file paths.

Faiblesses (CWE)

  • CWE-78 — Injection de commande système

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.2CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 8.2CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Red Hat · Red Hat Satellite 6.16 for RHEL 8unaffected 0:3.12.0.23-1.el8sat < *
Red Hat · Red Hat Satellite 6.16 for RHEL 9unaffected 0:3.12.0.23-1.el9sat < *
Red Hat · Red Hat Satellite 6.17 for RHEL 9unaffected 0:3.14.0.22-1.el9sat < *
Red Hat · Red Hat Satellite 6.18 for RHEL 9unaffected 0:3.16.0.25-1.el9sat < *
Red Hat · Red Hat Satellite 6.19 for RHEL 9unaffected 0:3.18.0.14-1.el9sat < *
Red Hat · Red Hat Satellite 6

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD