Openshift-console: openshift console: path traversal (openshift-console)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.52 % Β· percentile 44 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-22 β Improper Limitation of a Pathname to a Restricted Directory
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | redhat |
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | NVD Β· secalert@redhat.com (Secondary) |
Advisories
- GHSA-69x5-hjg4-m267 β OpenShift Console Has a Path Traversal Vulnerability
- GO-2025-3539 β OpenShift Console Has a Path Traversal Vulnerability in github.com/openshift/console
European references
- ENISA EUVD Β· EUVD-2025-6761
- GCVE Β· GCVE-0-2024-7631
Affected products
| Product | Versions |
|---|---|
| openshift-console | affected 0 β€ 6.0.6 |
| Red Hat Β· Red Hat OpenShift Container Platform 3.11 | |
| Red Hat Β· Red Hat OpenShift Container Platform 4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |