CVE-2026-96658
HIGH 8.8A flaw was found in Foreman. This vulnerability allows an authenticated remote attacker with low-level read permissions to achieve arbitrary code execution on the underlying server. By manipulating the permitted methods list within the template rendering engine, an attacker can bypass the safemode sandbox isolation and execute unauthorized commands directly on the host system.
Severe if exploited (CVSS 8.8), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.7%chance of exploitation in 30 days · 52nd percentile
Impact if exploited
8.8CVSS 3.1 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ⚠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
- github-search Search GitHub for public PoC repos
Test against your own equipment
curl -s https://vulnpedia.com/cve/CVE-2026-96658/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-96658/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 Satellite Enterprise Linux Foreman
Weakness (CWE)
- CWE-94: Improper Control of Generation of Code ('Code Injection')
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Redhat | Satellite | ≥ 6.16 and < 6.16.4 |
| Redhat | Satellite | ≥ 6.17 and < 6.17.12 |
| Redhat | Satellite | ≥ 6.19 and < 6.19.5 |
| Theforeman | Foreman | < 2.0.1 |
| Theforeman | Foreman | 3.19.0 |
| Theforeman | Foreman | 3.19.1 |
| Theforeman | Foreman | 5.0.0 |
| Redhat | Satellite | ≥ 6.18 and < 6.18.10 |
All CVSS metrics
- HIGH 8.8 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - HIGH 8.8 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Patches & mitigations
Advisories
- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-96658
- https://bugzilla.redhat.com/show_bug.cgi?id=2534185