← All CVEs

CVE-2026-12542

MEDIUM 5.3

Published 2026-10-01 · Last modified 2026-10-07

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.

NO EXPLOITATION SIGNALS

No known exploitation, public exploit, or elevated probability at this time. Track for changes.

Exploitation likelihood

0.6%chance of exploitation in 30 days · 45th percentile

○ In CISA KEV ○ Public exploit / PoC

Impact if exploited

5.3CVSS 3.1 · MEDIUM

  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow

What an attacker needs

  • ⚠Access: Requires local access to the host
  • ⚠Privileges: Requires a low-privilege account
  • ✓User interaction: No user interaction needed
  • ✓Complexity: No special conditions — reliably repeatable

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept & exploit code

Test against your own equipment

curl -s https://vulnpedia.com/cve/CVE-2026-12542/poc.jsonMachine-readable PoC index for this CVE (for automation).

Listed for defensive triage, patch verification, and authorized testing on systems you own. Machine-readable: /cve/CVE-2026-12542/poc.json

Affected

Vendors Red Hat Redhat Theforeman

Products Red Hat Satellite 6.16 For Rhel 8 Red Hat Satellite 6.16 For Rhel 9 Red Hat Satellite 6.17 For Rhel 9 Red Hat Satellite 6.18 For Rhel 9 Red Hat Satellite 6.19 For Rhel 9 Red Hat Satellite 6 Satellite Enterprise Linux Foreman

Weakness (CWE)

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

CVSS vector

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

Known Affected Software Configurations

VendorProductVersion range
RedhatSatellite≥ 6.16 and < 6.16.4
RedhatSatellite≥ 6.17 and < 6.17.12
RedhatSatellite≥ 6.19 and < 6.19.5
TheforemanForeman≥ 1.5.0 and ≤ 3.19.1
TheforemanForeman5.0.0
RedhatSatellite≥ 6.18 and < 6.18.10
RedhatSatellite6.0

All CVSS metrics

  • MEDIUM 5.3 v3.1 · CNA Primary
    CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • MEDIUM 5.3 v3.1 · NVD Secondary
    CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • HIGH 7.8 v3.1 · NVD Primary
    CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Patches & mitigations

Advisories

Sources: NVD · CVE.org · EPSS