CVE-2026-50236

Description

An authenticated SSRF flaw was found in the OpenShift Console Dev Console webhook helpers. User-supplied target URLs are fetched server-side without validation, with path neutralization enabling arbitrary endpoint targeting and full response reflection from the console pod's privileged network position.

Statement

An IMPORTANT severity authenticated server-side request forgery (SSRF) flaw was found in the OpenShift Console Dev Console webhook helper endpoints (/api/dev-console/webhooks/github, /gitlab, and /bitbucket). These endpoints accept user-supplied hostName/baseURL parameters and perform server-side HTTP POST requests from the openshift-console pod without URL validation or private-address-range blocking. By appending a query separator (?) to the hostName, an attacker neutralizes the fixed URL suffix and gains full control of the request path, effectively turning the endpoint into a general-purpose authenticated HTTP POST proxy. The full target response, including status code, headers, and body, is reflected back to the caller. Any authenticated console user, including users with no project access, can exploit this to reach cluster-internal HTTP services from the console pod's network position with arbitrary POST bodies and attacker-specified headers. Red Hat rated this flaw IMPORTANT with a CVSS 3.1 score of 7.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L), which matches the upstream CVE.org severity, reflecting the low privileges required and the console pod's privileged network position within the cluster. The affected component is the OpenShift Console (ose-console) as shipped in Red Hat OpenShift Container Platform 4 and later streams; a fix is being pursued by the OpenShift Console engineering team under a delegated resolution. Per that delegated assessment, the vulnerable Dev Console webhook helper code is not present in the OpenShift Container Platform 4.12 and 4.13 streams, so those versions are not affected.

Mitigation

Apply NetworkPolicy egress restrictions to the openshift-console namespace to limit the console pod's outbound connectivity to required endpoints only (Kubernetes API server, OAuth server, monitoring). Note that a blanket default-deny egress policy will break console functionality. Monitor console access logs for unusual POST requests to /api/dev-console/webhooks/ paths with non-standard hostName values pointing to internal addresses or containing query separators.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.4N/A7.4
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeChangedN/AChanged
ConfidentialityLowN/ALow
Integrity ImpactLowN/ALow
Availability ImpactLowN/ALow

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

cve.org: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Application Data

Integrity

Technical Impact: Execute Unauthorized Code or Commands

Access Control

Technical Impact: Bypass Protection Mechanism

By providing URLs to unexpected hosts or ports, attackers can make it appear that the server is sending the request, possibly bypassing access controls such as firewalls that prevent the attackers from accessing the URLs directly. The server can be used as a proxy to conduct port scanning of hosts in internal networks, use other URLs such as that can access documents on the system (using file://), or use other protocols such as gopher:// or tftp://, which may provide greater control over the contents of requests.

Acknowledgements

Red Hat would like to thank Christopher Lusk (North Echo Security Research) for reporting this issue.

Frequently Asked Questions

Want to get errata notifications? Sign up here.