CVE-2026-12541

HIGHCVSS 8.2/10EPSS 1.31%

Last modified

CVE-2026-12541 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. A flaw was found in Foreman. OS command injection vulnerabilities exist in the foreman-rake db:dump and db:import_dump tasks. EPSS estimates a 1.31% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
1.31%

69.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RedhatSatellite6.0
RedhatSatellite>= 6.16, < 6.16.4
RedhatSatellite>= 6.17, < 6.17.12
RedhatSatellite>= 6.19, < 6.19.5
TheforemanForemanAll versions
RedhatSatellite>= 6.18, < 6.18.10

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2026-12541?
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.
How severe is CVE-2026-12541?
CVE-2026-12541 has a CVSS score of 8.2/10 (HIGH severity). The EPSS model estimates a 1.31% probability of exploitation in the next 30 days.
How do I fix CVE-2026-12541?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-12541?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST