A flaw was found in Foreman. A remote attacker could exploit a command injection vulnerability in Foreman's WebSocket proxy implementation. This vulnerability arises from the system's use of unsanitized hostname values from compute resource providers when constructing shell commands. By operating a malicious compute resource server, an attacker could achieve remote code execution on the Foreman server when a user accesses VM VNC console functionality. This could lead to the compromise of sensitive credentials and the entire managed infrastructure.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1961.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:3.12.0.14-1.el8sat"
},
{
"fixed": "0:3.12.0.14-1.el9sat"
},
{
"fixed": "0:3.14.0.14-1.el9sat"
},
{
"fixed": "0:0.1.23-0.3.el9pc"
},
{
"fixed": "0:1.2.0-0.1.el9pc"
},
{
"fixed": "0:4.2.28-0.1.el9pc"
},
{
"fixed": "0:2.22.3-1.el9pc"
},
{
"fixed": "0:3.27.10-2.el9pc"
},
{
"fixed": "0:1.5.1-1.el9sat"
},
{
"fixed": "0:0.4.3-1.el9sat"
},
{
"fixed": "0:4.16.0.14-1.el9sat"
},
{
"fixed": "0:0.13.0-1.el9sat"
},
{
"fixed": "0:6.17.7-1.el9sat"
},
{
"fixed": "0:0.0.3-4.el9sat"
},
{
"fixed": "0:3.14.0.14-1.el9sat"
},
{
"fixed": "0:0.1.23-0.3.el9pc"
},
{
"fixed": "0:1.2.0-0.1.el9pc"
},
{
"fixed": "0:4.2.28-0.1.el9pc"
},
{
"fixed": "0:2.22.3-1.el9pc"
},
{
"fixed": "0:3.27.10-2.el9pc"
},
{
"fixed": "0:1.5.1-1.el9sat"
},
{
"fixed": "0:0.4.3-1.el9sat"
},
{
"fixed": "0:4.16.0.14-1.el9sat"
},
{
"fixed": "0:0.13.0-1.el9sat"
},
{
"fixed": "0:6.17.7-1.el9sat"
},
{
"fixed": "0:0.0.3-4.el9sat"
},
{
"fixed": "0:3.16.0.12-1.el9sat"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.16.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.17.0"
},
{
"fixed": "3.17.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.18.0"
},
{
"fixed": "3.18.1"
}
],
"source": "CPE_RANGE"
}
]
}
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.16.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.17.0"
},
{
"fixed": "3.17.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.18.0"
},
{
"fixed": "3.18.1"
}
],
"source": "CPE_RANGE"
}
]
}
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.16.3"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.17.0"
},
{
"fixed": "3.17.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.18.0"
},
{
"fixed": "3.18.1"
}
],
"source": "CPE_RANGE"
}
]
}