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

CVE-2026-12540

Foreman: command injection in foreman-rake errors:fetch_log via request_id parameter

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. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, ", or |) to break out of the intended command and execute arbitrary code.

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 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
Satellite 6.0 — 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