# CVE-2024-7631: Openshift-console: openshift console: path traversal

- Severity: Medium 4.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2025-03-19T18:47:27.721Z
- Modified: 2026-11-04T15:17:20.587Z
- Also known as: GHSA-69x5-hjg4-m267, GO-2025-3539
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- openshift-console: up to 6.0.6
- openshift3/ose-console: no versions given
- openshift4/ose-console: no versions given
- github.com/openshift/console (Go): up to 6.0.6; all versions

## Every score

- redhat: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://access.redhat.com/security/cve/CVE-2024-7631> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2296053> (issue-tracking, web)
- <https://github.com/advisories/GHSA-69x5-hjg4-m267> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-7631> (advisory)
- <https://github.com/openshift/console> (package)
- <https://pkg.go.dev/vuln/GO-2025-3539> (web)

## Sources

- CVE List: [CVE-2024-7631](https://www.cve.org/CVERecord?id=CVE-2024-7631), CVE Terms of Use, modified 2026-11-04
- GitHub Advisory Database: [GHSA-69x5-hjg4-m267](https://github.com/advisories/GHSA-69x5-hjg4-m267), CC-BY-4.0, modified 2026-03-25
- Go Vulnerability Database: [GO-2025-3539](https://pkg.go.dev/vuln/GO-2025-3539), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-7631](https://nvd.nist.gov/vuln/detail/CVE-2024-7631), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2024-7631 · Whole record: https://cve.day/CVE-2024-7631.json · Rebuilt by cve.day 2026-11-25T22:58:52.318Z
