Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Reachable via the Kubernetes API (AV:N) with low complexity, but requires hub-admin/Search CR editor rights (PR:H); injection breaks out of the tenant role into the privileged postgres pod, justifying S:C and full C:H/I:H/A:H.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
Lifecycle Timeline
2DescriptionCVE.org
A flaw was found in acm-search-v2-rhel9. This vulnerability allows an authenticated attacker, such as a hub administrator or a Search Custom Resource (CR) editor, to inject malicious shell commands or SQL statements. This occurs because the WORK_MEM string provided in the Search CR is not properly validated before being used in a bash script and an SQL query. Successful exploitation could lead to arbitrary code execution within the privileged postgres pod, potentially compromising the system.
Articles & Coverage 2
AnalysisAI
Command and SQL injection in Red Hat Advanced Cluster Management for Kubernetes 2 (acm-search-v2-rhel9) lets a privileged tenant escalate to arbitrary code execution inside the cluster's PostgreSQL pod. An authenticated hub administrator or Search Custom Resource editor can supply an unsanitized WORK_MEM value that is passed into both a bash script and an SQL query, breaking out of the intended data plane. No public exploit is identified at time of analysis and the flaw is not on CISA KEV, but the CVSS 9.1 rating reflects full confidentiality, integrity, and availability loss with a scope change.
Technical ContextAI
The affected component is the search subsystem of Red Hat ACM (per CPE cpe:2.3:a:red_hat:red_hat_advanced_cluster_management_for_kubernetes_2), which indexes cluster state into a backing PostgreSQL database running as a privileged pod. Operators tune the search indexer through a Search Custom Resource (CR); the WORK_MEM parameter is meant to set the PostgreSQL work_mem memory sizing. The root cause is CWE-78 (OS Command Injection): the WORK_MEM string is interpolated into a shell script and an SQL statement without validation or parameterization, so shell metacharacters and SQL syntax in that field are interpreted rather than treated as a numeric value. Because the postgres pod runs with elevated privileges, code executed there can act on the database and potentially the surrounding container context.
RemediationAI
Patch available per vendor advisory: apply the fixed acm-search-v2-rhel9 image published by Red Hat once released, following the errata linked from https://access.redhat.com/security/cve/CVE-2026-71472 (exact fixed version is not stated in the available data, so verify the specific z-stream against the Red Hat errata and Bugzilla 2512151). As compensating controls until patched: tightly restrict who holds hub-administrator and Search CR edit permissions via Kubernetes RBAC (removing edit rights on the Search CR from non-essential users directly removes the attack surface, at the cost of operators needing an admin to change search tuning); audit existing Search CRs for anomalous WORK_MEM values containing shell metacharacters or SQL syntax; and monitor the postgres pod for unexpected process execution. Avoid delegating Search CR editing in multi-tenant hubs, accepting the trade-off of centralized tuning control.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
Same weakness CWE-78 – OS Command Injection
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-60362
GHSA-gqg9-92w2-w94m