Foreman: arbitrary code execution through templates
Priority MEDIUM 44CWE-78Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-78.
Summary
An arbitrary code execution flaw was found in Foreman. This flaw allows an admin user to bypass safe mode in templates and execute arbitrary code on the underlying operating system.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01382 72nd percentileScored 2026-11-07
Fix Fixed Red Hat: 4 advisories
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | foreman | — | — | No fix listed | CNA |
| Red Hat | Red Hat Satellite 6.11 for RHEL 7 | — | 3.1.1.27-1.el7sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.11 for RHEL 7 | — | 3.1.1.27-1.el7sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.11 for RHEL 8 | — | 3.1.1.27-1.el8sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.11 for RHEL 8 | — | 3.1.1.27-1.el8sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.12 for RHEL 8 | — | 1.3.8-1.el8sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.13 for RHEL 8 | — | 1.3.8-1.el8sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.14 for RHEL 8 | — | 3.7.0.9-1.el8sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.14 for RHEL 8 | — | 3.7.0.9-1.el8sat | Patch available | CNA |
- foreman Vendor— Affected — Fixed in — No fix listed CNA
- Red Hat Satellite 6.11 for RHEL 7 VendorRed Hat Affected — Fixed in 3.1.1.27-1.el7sat Patch available CNA
- Red Hat Satellite 6.11 for RHEL 7 VendorRed Hat Affected — Fixed in 3.1.1.27-1.el7sat Patch available CNA
- Red Hat Satellite 6.11 for RHEL 8 VendorRed Hat Affected — Fixed in 3.1.1.27-1.el8sat Patch available CNA
- Red Hat Satellite 6.11 for RHEL 8 VendorRed Hat Affected — Fixed in 3.1.1.27-1.el8sat Patch available CNA
- Red Hat Satellite 6.12 for RHEL 8 VendorRed Hat Affected — Fixed in 1.3.8-1.el8sat Patch available CNA
- Red Hat Satellite 6.13 for RHEL 8 VendorRed Hat Affected — Fixed in 1.3.8-1.el8sat Patch available CNA
- Red Hat Satellite 6.14 for RHEL 8 VendorRed Hat Affected — Fixed in 3.7.0.9-1.el8sat Patch available CNA
- Red Hat Satellite 6.14 for RHEL 8 VendorRed Hat Affected — Fixed in 3.7.0.9-1.el8sat Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* | all versions | Vulnerable | The Foreman Project |
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.13 to before 6.13.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Running on | Red Hat |
- cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·The Foreman Project
- cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* Versions 6.13 to before 6.13.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Running on ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2023:6818 Released 2023-11-08 · Red Hat rating ImportantSatellite 6.14 security and bug fix update
- Red Hat Satellite 6.14 for RHEL 8 foreman-3.7.0.9-1.el8sat, foreman-cli-3.7.0.9-1.el8sat, foreman-debug-3.7.0.9-1.el8sat +33
- RHSA-2023:5980 Released 2023-10-20 · Red Hat rating ImportantSatellite 6.11.5.6 async security update
- Red Hat Satellite 6.11 for RHEL 7 foreman-3.1.1.27-1.el7sat, foreman-cli-3.1.1.27-1.el7sat, foreman-debug-3.1.1.27-1.el7sat +14
- Red Hat Satellite 6.11 for RHEL 8 foreman-3.1.1.27-1.el8sat, foreman-cli-3.1.1.27-1.el8sat, foreman-debug-3.1.1.27-1.el8sat +14
- RHSA-2023:5979 Released 2023-10-20 · Red Hat rating ImportantSatellite 6.12.5.2 Async Security Update
- Red Hat Satellite 6.12 for RHEL 8 foreman-3.3.0.23-1.el8sat, puppet-agent-7.26.0-3.el8sat, rubygem-git-1.18.0-1.el8sat +2
Show 1 more Red Hat advisories
- RHSA-2023:4466 Released 2023-08-03 · Red Hat rating ImportantSatellite 6.13.3 Async Security Update
- Red Hat Satellite 6.13 for RHEL 8 python-future-0.18.3-1.el8pc, python39-future-0.18.3-1.el8pc, rubygem-safemode-1.3.8-1.el8sat
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Satellite 6.11 for RHEL 7 | Fixed | RHSA-2023:5980 |
| Red Hat Satellite 6.11 for RHEL 8 | Fixed | RHSA-2023:5980 |
| Red Hat Satellite 6.12 for RHEL 8 | Fixed | RHSA-2023:5979 |
| Red Hat Satellite 6.13 for RHEL 8 | Fixed | RHSA-2023:4466 |
| Red Hat Satellite 6.14 for RHEL 8 | Fixed | RHSA-2023:6818 |
Not affected: 5 products
- Red Hat Satellite 6.11 for RHEL 7
- Red Hat Satellite 6.11 for RHEL 8
- Red Hat Satellite 6.12 for RHEL 8
- Red Hat Satellite 6.13 for RHEL 8
- Red Hat Satellite 6.14 for RHEL 8
Timeline
- 2026-10-02 Threatist record created from CVE-2023-0118
- 2026-10-03 Alias added: GHSA-pwc8-3cc6-gg8v
References
More Red Hat Satellite vulnerabilities
- TI-2016-02888 Unspecified vulnerability in Oracle Java SE 6u113, 7u99, and 8u77; Java SE Embedded 8u77… KEVCVSS 3.1CRITICAL 9.8
- TI-2015-02278 Unspecified vulnerability in Oracle Java SE 6u95, 7u80, and 8u45, and Java SE Embedded… KEVCVSS 3.1CRITICAL 9.8
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2026-35991 Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks KEVCVSS 3.1MEDIUM 6.5
- TI-2015-04118 Unspecified vulnerability in Oracle Java SE 6u101, 7u85, and 8u60 allows remote attackers… KEVCVSS 3.1MEDIUM 5.3
- TI-2018-07743 It was found that cobbler 2.6.x exposed all functions from its CobblerXMLRPCInterface… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2023-0118 · CVE Program
- CVE-2023-0118 · NVD
- FIRST EPSS
- GHSA-pwc8-3cc6-gg8v · GitHub Advisory Database · CC BY 4.0
- CVE-2023-0118 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences