CVE-2026-53572
KEDA is a Kubernetes-based Event Driven Autoscaling component. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q
- github.com/advisories/GHSA-6w3m-4hhp-775q
- github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f
- github.com/kedacore/keda/issues/7784
- github.com/kedacore/keda/pull/7787
- github.com/kedacore/keda/releases/tag/v2.20.0
- nvd.nist.gov/vuln/detail/CVE-2026-53572
- cve.org/CVERecord?id=CVE-2026-53572
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.