CVE-2026-12540
⚠️ highSummary
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.
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 6, 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)