Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-12541
VULNERABILITY

CVE-2026-12541

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
8.2
Severity
HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Timeline

Published
Oct 1, 2026 17:17
Modified
Nov 26, 2026 14:17
Last observed
Nov 26, 2026 10:00

CWE

CWE-78

Affected product identifiers

cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*

References