← All CVEs

CVE-2026-12541

HIGH 8.2

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

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.

ELEVATED IMPACT

Severe if exploited (CVSS 8.2), but no known exploitation and low modeled probability. Patch on a normal cadence.

Exploitation likelihood

1.2%chance of exploitation in 30 days · 68th percentile

○ In CISA KEV ○ Public exploit / PoC

Impact if exploited

8.2CVSS 3.1 · HIGH

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • ⚠Access: Requires local access to the host
  • ⚠Privileges: Requires an admin / high-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-12541/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-12541/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:H/UI:N/S:C/C:H/I:H/A:H

Known Affected Software Configurations

VendorProductVersion range
RedhatSatellite6.0
RedhatSatellite≥ 6.16 and < 6.16.4
RedhatSatellite≥ 6.17 and < 6.17.12
RedhatSatellite≥ 6.19 and < 6.19.5
TheforemanForeman*
RedhatSatellite≥ 6.18 and < 6.18.10

All CVSS metrics

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

References

Patches & mitigations

Advisories

Sources: NVD · CVE.org · EPSS