Bug 2512151 (CVE-2026-71472) - CVE-2026-71472 acm-search-v2-rhel9: CVE-2026-71472 search-v2-operator: Shell-command and SQL injection in postgresql-start.sh via CR-supplied WORK_MEM
Summary: CVE-2026-71472 acm-search-v2-rhel9: CVE-2026-71472 search-v2-operator: Shell-...
Keywords:
Status: NEW
Alias: CVE-2026-71472
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-06 19:35 UTC by OSIDB Bzimport
Modified: 2026-08-17 19:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-06 19:35:47 UTC
Untrusted Search CR string (WORK_MEM) is concatenated into (a) a bash script line and (b) an SQL literal, with no quoting or validation. The script is mounted at /opt/app-root/src/postgresql-start/postgresql-start.sh (create_pgdeployment.go:50-52) and executed by the sclorg postgres entrypoint inside the postgres pod, which auto-mounts search-serviceaccount with cluster-wide impersonate privileges (FIND-001, FIND-010). A hub admin or Search CR editor can inject arbitrary shell commands or SQL statements executed in the context of the privileged postgres pod.

Upstream: stolostron/search-v2-operator


Note You need to log in before you can comment on or make changes to this bug.