Skip to main content
Network Thinking Solutions Logo

CVE-2026-12542

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.

All CVEs
CVE-2026-12542Published 10/1/2026

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.

Vendor advisory
CVSS 3.17.8High

Overview

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.

Published
10/1/2026
Last modified
11/26/2026
CVE assigner
redhat
NVD analysis
Analyzed

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
satellite
redhat
≥ 6.16, < 6.16.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
satellite
redhat
≥ 6.17, < 6.17.12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
satellite
redhat
≥ 6.19, < 6.19.5

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
foreman
theforeman
≥ 1.5.0, ≤ 3.19.1

Verify advisory

Source
foreman
theforeman
5.0.0

Verify advisory

Source
satellite
redhat
≥ 6.18, < 6.18.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
satellite
redhat
6.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

5.3 · Medium CVSS 3.1

Scored by redhat

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

5.3 · Medium CVSS 3.1

Scored by secalert@redhat.com

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

7.8 · High CVSS 3.1

Scored by nvd@nist.gov

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

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2026:74503
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/errata/RHSA-2026:74504
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/errata/RHSA-2026:74505
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/errata/RHSA-2026:74506
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/security/cve/CVE-2026-12542
vdb-entry
x_refsource_REDHAT
Vendor Advisory
bugzilla.redhat.com/show_bug.cgi?id=2489971
issue-tracking
x_refsource_REDHAT
Issue Tracking
Vendor Advisory
openwall.com/lists/oss-security/2026/10/07/7
Mailing List
Patch
Third Party Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.