CVEFinder.io

CVE-2026-12541

⚠️ 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.

CVSS Score
8.2
High
EPSS Score
1.2
Exploit Probability
Published Date
2026-10-01
First Seen: 2026-10-04
📊 Relative Risk Intelligence

This CVE is High Risk - more severe than 79.1% of all 365,890 vulnerabilities in our database.

#76,347
Top 25% most severe
Severity Percentile
🎯 CISA SSVC Assessment Updated: Oct 1, 2026
🔍 Exploitation Status
None
No known exploits
⚙️ Automatable
NO
Requires human interaction
💥 Technical Impact
Total
Complete system compromise possible
🏆 Discovered By
This issue was discovered by Laura Pardo (Red Hat) and Toni Gornals (Red Hat).
SSVC data provided by CISA
Last Modified 2026-10-08
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CWE IDs (Weakness Types)

📦 Affected Products 6

🔗 References 7

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-12423 ⚠️ high 7.5 0.4 A flaw was found in Foreman. The Red Hat Satellite /unattended/provision API endpoint is vulnerable to an authentication... 2026-10-01
CVE-2026-12540 ⚠️ high 8.2 1.2 A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The req... 2026-10-01
CVE-2026-12544 ⚠️ high 7.7 0.2 A flaw was found in Foreman. The foreman-rake initialization logic in /usr/share/foreman/config/settings.rb contains a v... 2026-10-01
CVE-2026-81658 🔶 medium 6.5 0.3 A flaw was found in Foreman. The template revision endpoint does not enforce object-level authorization when retrieving ... 2026-08-27
CVE-2026-5136 ⚠️ high 8.8 0.3 A flaw was found in Foreman. The Usergroup model in Foreman does not properly validate role assignments against the call... 2026-07-01
CVE-2026-5135 🔶 medium 6.5 0.2 A flaw was found in Foreman. This broken access control vulnerability allows an authenticated user with host-edit permis... 2026-07-01
These CVEs affect the same products