Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-12541— Foreman: command injection in foreman-rake database tasks

Quick assessment

Affected
Red Hat Red Hat Satellite 6.16 for RHEL 8
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Foreman 中发现了一个漏洞。foreman-rake 的 和 任务中存在操作系统命令注入漏洞。该应用程序在将用户提供的输入传递给 Ruby 调用以执行之前,未能对备份过程中的 (目标)参数和导入过程中的 (文件)参数进行适当的清理。拥有执行 foreman-rake 权限的攻击者(例如,通过受限的 sudo 配置)可以在提供的文件路径中附加恶意的 shell 命令。

CVSS 8.2 · High EPSS 1.31% · P70

Possible ATT&CK Techniques 1 AI

T1059.004 · Unix Shell

Affected Version Matrix 6

VendorProduct Version RangeStatus
Red Hat Red Hat Satellite 6 any affected
Red Hat Red Hat Satellite 6.16 for RHEL 8 0:3.12.0.23-1.el8sat< * unaffected
Red Hat Red Hat Satellite 6.16 for RHEL 9 0:3.12.0.23-1.el9sat< * unaffected
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:3.14.0.22-1.el9sat< * unaffected
Red Hat Red Hat Satellite 6.18 for RHEL 9 0:3.16.0.25-1.el9sat< * unaffected
Red Hat Red Hat Satellite 6.19 for RHEL 9 0:3.18.0.14-1.el9sat< * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-12541

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Foreman: command injection in foreman-rake database tasks
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Red Hat Red Hat Satellite 6.16 for RHEL 8 0:3.12.0.23-1.el8sat ~ * cpe:/a:redhat:satellite:6.16::el8
Red Hat Red Hat Satellite 6.16 for RHEL 9 0:3.12.0.23-1.el9sat ~ * cpe:/a:redhat:satellite:6.16::el8
Red Hat Red Hat Satellite 6.17 for RHEL 9 0:3.14.0.22-1.el9sat ~ * cpe:/a:redhat:satellite:6.17::el9
Red Hat Red Hat Satellite 6.18 for RHEL 9 0:3.16.0.25-1.el9sat ~ * cpe:/a:redhat:satellite:6.18::el9
Red Hat Red Hat Satellite 6.19 for RHEL 9 0:3.18.0.14-1.el9sat ~ * cpe:/a:redhat:satellite:6.19::el9
Red Hat Red Hat Satellite 6 - cpe:/a:redhat:satellite:6

II. Public POCs for CVE-2026-12541

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-12541

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-12541 (6)

Same Patch Batch · Red Hat · 2026-10-01 · 18 CVEs total

CVE-2026-96658 9.9 CRITICAL Foreman: safemode bypass leading to rce
CVE-2026-96659 9.1 CRITICAL Foreman: excessive permissions for viewer role on preview
CVE-2026-86345 9.0 CRITICAL 389-ds-base: 389-ds-base: starttls plaintext-buffer retention allows on-path attacker to f
CVE-2026-12405 8.8 HIGH Rubygem-foreman_remote_execution: command injection in job invocations via effective_user
CVE-2026-12540 8.2 HIGH Foreman: command injection in foreman-rake errors:fetch_log via request_id parameter
CVE-2026-12544 7.7 HIGH Foreman: ssti and insecure deserialization in foreman-rake configuration
CVE-2026-86344 7.5 HIGH 389-ds-base: 389-ds-base: unauthenticated worker-thread-pool exhaustion via completed-oper
CVE-2026-12423 7.5 HIGH Foreman: unauthenticated information disclosure via provisioning token validation flaw
CVE-2026-96577 7.1 HIGH Oc-mirror__release-4.21: embedded local cache registry listens on all interfaces without a
CVE-2026-12545 6.7 MEDIUM Rubygem-hammer_cli: command injection via insecure editor invocation
CVE-2026-56097 6.5 MEDIUM Rubygem-katello: sql injection in registry proxy via labels
CVE-2026-103884 6.5 MEDIUM Keycloak-services: keycloak-services: path traversal in x.509 crl distribution point allow
CVE-2026-83589 6.1 MEDIUM Oauth-proxy: open redirect via /\ and /\t bypass in post-login redirect
CVE-2026-103754 5.9 MEDIUM Ansible-runner: ansible-runner: path traversal and symlink escape in unstream_dir() allows
CVE-2026-103641 5.5 MEDIUM Gegl: gegl04: gegl: out-of-bounds read in the radiance hdr uncompressed scanline decoder
CVE-2026-12542 5.3 MEDIUM Foreman: command injection in foreman-tail
CVE-2026-56098 4.3 MEDIUM Rubygem-katello: improper authorization logic allows resource enumeration

IV. Related Vulnerabilities

V. Comments for CVE-2026-12541

No comments yet


Leave a comment