A 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.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/96xxx/CVE-2026-96658.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:1.5.0-2.el8sat"
},
{
"fixed": "0:1.5.0-2.el9sat"
},
{
"fixed": "0:3.14.0.22-1.el9sat"
},
{
"fixed": "0:3.2.13-1.el9pc"
},
{
"fixed": "0:3.1.62-1.el9pc"
},
{
"fixed": "0:5.3.1-2.el9pc"
},
{
"fixed": "0:0.6.0-1.el9pc"
},
{
"fixed": "0:3.14.0-2.el9sat"
},
{
"fixed": "0:4.16.0.20-1.el9sat"
},
{
"fixed": "0:1.5.0-2.el9sat"
},
{
"fixed": "0:6.17.12-1.el9sat"
},
{
"fixed": "0:0.1.0-2.1.el9sat"
},
{
"fixed": "0:3.14.0.22-1.el9sat"
},
{
"fixed": "0:3.2.13-1.el9pc"
},
{
"fixed": "0:3.1.62-1.el9pc"
},
{
"fixed": "0:5.3.1-2.el9pc"
},
{
"fixed": "0:0.6.0-1.el9pc"
},
{
"fixed": "0:3.14.0-2.el9sat"
},
{
"fixed": "0:4.16.0.20-1.el9sat"
},
{
"fixed": "0:1.5.0-2.el9sat"
},
{
"fixed": "0:6.17.12-1.el9sat"
},
{
"fixed": "0:0.1.0-2.1.el9sat"
},
{
"fixed": "0:3.14.0.22-1.el9sat"
},
{
"fixed": "0:3.2.13-1.el9pc"
},
{
"fixed": "0:3.1.62-1.el9pc"
},
{
"fixed": "0:5.3.1-2.el9pc"
},
{
"fixed": "0:0.6.0-1.el9pc"
},
{
"fixed": "0:3.14.0-2.el9sat"
},
{
"fixed": "0:4.16.0.20-1.el9sat"
},
{
"fixed": "0:1.5.0-2.el9sat"
},
{
"fixed": "0:6.17.12-1.el9sat"
},
{
"fixed": "0:0.1.0-2.1.el9sat"
},
{
"fixed": "0:1.5.0-2.el9sat"
},
{
"fixed": "0:3.18.0.14-1.el9sat"
},
{
"fixed": "0:3.18.0.14-1.el9sat"
},
{
"fixed": "0:3.18.0.14-1.el9sat"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:3.19.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.19.0"
},
{
"last_affected": "3.19.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:3.19.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.19.1"
},
{
"last_affected": "3.19.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"last_affected": "5.0.0"
}
],
"source": "CPE_STRING"
}
]
}
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:3.19.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.19.0"
},
{
"last_affected": "3.19.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:3.19.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.19.1"
},
{
"last_affected": "3.19.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"last_affected": "5.0.0"
}
],
"source": "CPE_STRING"
}
]
}
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:3.19.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.19.0"
},
{
"last_affected": "3.19.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:3.19.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.19.1"
},
{
"last_affected": "3.19.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"last_affected": "5.0.0"
}
],
"source": "CPE_STRING"
}
]
}