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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-12542— Foreman: command injection in foreman-tail

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-tail 工具由于不安全地使用 命令,存在操作系统命令注入漏洞。该脚本接收用户提供的参数,并将其直接拼接到字符串中,随后通过 执行以展开文件路径。由于输入未经过净化或引号包裹,本地攻击者可以注入 shell 元字符(例如 、 、 ),从而执行任意系统命令。

CVSS 5.3 · Medium EPSS 0.55% · P44

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-12542

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-tail
Source: CVE Program / CVE List V5
Vulnerability Description
A flaw was found in Foreman. The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command. The script takes user-supplied arguments and incorporates them directly into a string that is then executed by eval to expand file paths. Because the input is not sanitized or quoted, a local attacker can inject shell metacharacters (e.g., ;, &, |) to execute arbitrary system commands.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
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-12542

# 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-12542

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

Vendor Advisories for CVE-2026-12542 (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-12541 8.2 HIGH Foreman: command injection in foreman-rake database tasks
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-56098 4.3 MEDIUM Rubygem-katello: improper authorization logic allows resource enumeration

IV. Related Vulnerabilities

V. Comments for CVE-2026-12542

No comments yet


Leave a comment