Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-7631 EUVD-2025-6761GHSA-69x5-hjg4-m267GO-2025-3539

Openshift-console: openshift console: path traversal

Published Mar 19, 2025 · Updated Nov 4, 2026 · Assigned by redhat

Description

A flaw was found in the OpenShift Console, an endpoint for plugins to serve resources in multiple languages: /locales/resources.json. This endpoint's lng and ns parameters are used to construct a filepath in pkg/plugins/handlers unsafely.go#L112 Because of this unsafe filepath construction, an authenticated user can manipulate the path to retrieve any JSON files on the console's pod by using sequences of ../ and valid directory paths.

Affected products

VendorProductAffectedFixed
— openshift-console ≤ 6.0.6 —
Red Hat Red Hat OpenShift Container Platform 3.11 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250327T184518-1.1 openSUSE-SU-2025:14937-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/openshift/console <= 6.0.6 — GHSA-69x5-hjg4-m267
Go github.com/openshift/console all versions — GO-2025-3539

Advisories 1

References