{"id":"CVE-2026-53572","revision":"e30845affb3c44ddba5e3bc48651b8b0","records":[{"revision":"e30845affb3c44ddba5e3bc48651b8b0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-53572","aliases":[],"title":"KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping","description":"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.","state":0,"publishedAt":"2026-08-21T20:11:56.479+00:00","modifiedAt":"2026-08-25T17:13:43.12+00:00","affected":[{"ecosystem":"Vendor product","name":"keda","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"kedacore\",\n                    \"product\": \"keda\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.20.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q","https://github.com/kedacore/keda/issues/7784","https://github.com/kedacore/keda/pull/7787","https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f","https://github.com/kedacore/keda/releases/tag/v2.20.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-53572","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-53572","identifiers":["CVE-2026-53572"]},"retained":false,"historicalAffected":[]}],"coverage":[]}