Critical

ConsoleMe has an Arbitrary File Read Vulnerability via Limited Git command

  • Disclosed: 16.05.2024
  • Updated: 11.10.2026 12:20

ID: NFLX-2024-002

Impact

Authenticated users can achieve limited RCE in ConsoleMe, restricted to flag inputs on a single CLI command. Due to this constraint, it is not currently known whether full RCE is possible but it is unlikely. However, a specific flag allows authenticated users to read any server files accessible by the ConsoleMe process. Given ConsoleMe's role as an AWS identity broker, accessing files containing secrets on the server could potentially be exploited for privilege escalation.

Deployments of ConsoleMe that allow templated resources are impacted and urged to patch immediately. Deployments that do not permit templated resources are not affected.

To determine if your ConsoleMe deployment uses templated resources, check the configuration value for cache_resource_templates.repositories. If this value does not exist or is an empty array, your deployment is not impacted.

Description

The self-service flow for templated resources in ConsoleMe accepts a user-supplied JSON post body, which includes the filename for the templated resource. However, this user-supplied filename is not properly sanitized and is passed directly as a string to a CLI command. This allows users to input flags instead of filenames. By passing a specific flag with a filename value, users can induce an error that reveals the contents of the specified file, allowing them to read any files readable by the system user executing the ConsoleMe server process.

Patches

This issue has been patched in version v1.4.0 via https://github.com/Netflix/consoleme/pull/9380. If you are unable to upgrade to the latest version, users can selectively apply the code changes in the above PR. Alternatively, removing the configuration item cache_resource_templates.repositories or adding it as an empty array should mitigate the issue, but will result in broken functionality (templated resources will no longer be supported for self-service).

Credit

Jay Dhulia

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) consoleme < 1.4.0 1.4.0

References

CVSS score 9.6/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Weakness (CWE)
CWE-77
Platform
Python (PyPI)
Package
consoleme
Disclosed
16.05.2024
Updated
11.10.2026 12:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-3783-62vc-jr7x - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-318 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: consoleme

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
04.2022 05.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 1
  4. 2025: 0
  5. 2026: 0
  1. ConsoleMe has an Arbitrary File Read Vulnerability via Limited Git command this entry
    Critical · 9.6 CVE-2024-5023 < 1.4.0 1.4.0
  2. Critical · 9.8 CVE-2022-27177 < 1.2.2 1.2.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.