CVE-2026-12541 Foreman - Command Injection

Foreman contains a command injection caused by improper sanitization of user-supplied input in foreman-rake db:dump and db:import_dump tasks, letting attackers with foreman-rake execution permissions run arbitrary OS commands.

CVSS base score 8.2 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Required
EPSS
1.20% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Command Injection
Impact
Remote Code Execution
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Published
1 October 2026
Updated
15 October 2026
Weakness
CWE-78

Vendor fix

Update to the latest version with the fix or apply patches that sanitize inputs in foreman-rake tasks.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs