1. Accueil
  2. Vulnérabilités
  3. CVE-2026-12541

CVE-2026-12541

Foreman: command injection in foreman-rake database tasks

Publiée le 1 oct. 2026 · modifiée le 26 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 51/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Redhat (11 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat Satellite 6 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.16 for RHEL 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.16 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.17 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.18 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.19 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Satellite 6.0 — NVD
Satellite de 6.16 (inclus) à 6.16.4 (exclu) — NVD
Satellite de 6.17 (inclus) à 6.17.12 (exclu) — NVD
Satellite de 6.19 (inclus) à 6.19.5 (exclu) — NVD
Satellite de 6.18 (inclus) à 6.18.10 (exclu) — NVD
Theforeman (1 ligne(s))
Theforeman
ProduitVersionsCorrigé dansSource
Foreman Versions non précisées — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1, CNA:secalert@redhat.com)
Faiblesse
CWE-78 · Injection de commandes / code

Comment sont obtenues et calculées ces données