Foreman: command injection in foreman-tail

Summary

CVECVE-2026-12542
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-01 18:17:15 UTC
Updated2026-10-16 13:19:24 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS: 0.005540000 probability, percentile 0.443040000 (date 2026-10-05)

Problem Types: CWE-78 | CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1[email protected]Secondary5.3MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
3.1CNACVSS5.3MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Redhat Enterprise Linux 8.0 All All All
Operating System Redhat Enterprise Linux 9.0 All All All
Application Redhat Satellite All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Satellite 6.16 For RHEL 8 unaffected 0:3.12.0.23-1.el8sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.16 For RHEL 9 unaffected 0:3.12.0.23-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:3.14.0.22-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.18 For RHEL 9 unaffected 0:3.16.0.25-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.19 For RHEL 9 unaffected 0:3.18.0.14-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:74506 [email protected] access.redhat.com Vendor Advisory
www.openwall.com/lists/oss-security/2026/10/07/7 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List, Patch, Third Party Advisory
access.redhat.com/errata/RHSA-2026:74505 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2026:74504 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/errata/RHSA-2026:74503 [email protected] access.redhat.com Vendor Advisory
access.redhat.com/security/cve/CVE-2026-12542 [email protected] access.redhat.com Vendor Advisory
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com Issue Tracking, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: This issue was discovered by Laura Pardo (Red Hat) and Toni Gornals (Red Hat). (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-06-17T16:46:27.440ZReported to Red Hat.
CNA2026-10-01T12:20:00.000ZMade public.

Workarounds

CNA: Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report