Vulnerability
CVE-2026-53572
KEDA is a Kubernetes-based Event Driven Autoscaling component. Prior to 2.20.0, pkg/scalers/postgresql_scaler.go constructs libpq-style connection strings from tenant-controlled host, port, userName, dbName, sslmode, and password values, while escapePostgreConnectionParameter() only quotes values containing a literal space. Tabs, newlines, carriage returns, form feeds, vertical tabs, quotes, and backslashes can therefore create additional key-value tokens when pgx parses the string. An attacker able to create or modify a TriggerAuthentication or ScaledObject can inject host or sslmode parameters, redirect the database connection to an attacker-controlled server, expose credentials, or disable intended TLS protection. This issue is fixed in version 2.20.0.
74 advisories report this vulnerability, across 5 ecosystems.
Advisories in Wolfi
- CGA-3qcr-jvcj-f8h2
- CGA-3qmq-pxhw-29p9
- CGA-3vjv-rfv7-3xfp
- CGA-4324-4jmm-2r6x
- CGA-43xx-vp3w-q572
- CGA-5mrg-55q6-jfcq
- CGA-5xvc-rjxg-rcv6
- CGA-9jx7-w5cc-r74r
- CGA-9mph-fvq2-63p8
- CGA-c7vw-w6g2-mgv3
- CGA-c826-xfw5-86w7
- CGA-cm24-4gcq-7cv3
- CGA-gj22-3v6f-9g77
- CGA-grcg-8qp5-3gpm
- CGA-p3gx-4pfm-wcpf
- CGA-q2cv-cgpr-w4wg
- CGA-wxf4-9224-rh8c
- CGA-xmrw-5hfq-gh2m