CVE-2026-1961

Source
https://cve.org/CVERecord?id=CVE-2026-1961
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-1961.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-1961
Downstream
RHSA (3)
Published
2026-03-26T12:53:09Z
Modified
2026-10-24T10:53:52Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Forman: foreman: remote code execution via command injection in websocket proxy
Details

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.

Database specific
{
    "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"
                }
            ]
        }
    ]
}
References

Affected packages

Git
github.com/theforeman/foreman

Affected ranges

Type
GIT
Repo
https://github.com/theforeman/foreman
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

0.*
0.1-1
0.1-2
0.1-3
0.1-4
0.1-5
0.1-6
0.2
0.2rc1
0.3
0.4
0.4rc2
0.4rc3
0.4rc4
0.4rc5
1.*
1.0
1.0RC1
1.0RC2
1.0RC3
1.0RC4
1.0RC5
1.1
1.1RC1
1.1RC2
1.1RC3
1.1RC4
1.1RC5
3.*
3.16.0
3.16.0-rc1
3.16.0-rc2
3.16.1
3.16.2
3.17.0
3.17.1
3.18.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-1961.json"
github.com/theforeman/foreman-installer

Affected ranges

Type
GIT
Repo
https://github.com/theforeman/foreman-installer
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

1.*
1.0.1
3.*
3.16.0
3.16.0-rc1
3.16.0-rc2
3.16.1
3.16.2
3.17.0
3.17.1
3.18.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-1961.json"
github.com/theforeman/smart-proxy

Affected ranges

Type
GIT
Repo
https://github.com/theforeman/smart-proxy
Events
Database specific
Show details
{
    "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"
        }
    ]
}

Affected versions

0.*
0.1
0.2
0.2rc2
0.3
1.*
1.0
1.0RC1
1.0RC2
1.1
1.1RC1
1.1RC2
1.1RC3
3.*
3.16.0
3.16.0-rc1
3.16.0-rc2
3.16.1
3.16.2
3.17.0
3.17.1
3.18.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-1961.json"