{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-53572","id":"CVE-2026-53572","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 b","descriptionLong":"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.","published":"2026-08-21T20:11:56.479Z","updated":"2026-10-28T02:30:42.608216675Z","reserved":"2026-06-09T19:11:53.483Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["kedacore keda"],"affectedProducts":[{"vendor":"kedacore","product":"keda","defaultStatus":null,"versions":[{"version":"< 2.20.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/kedacore/keda/v2","purl":"pkg:golang/github.com/kedacore/keda/v2","ranges":["<2.20.0"],"fixed":["2.20.0"],"advisory":"GHSA-6w3m-4hhp-775q"},{"ecosystem":"Go","name":"github.com/kedacore/keda","purl":"pkg:golang/github.com/kedacore/keda","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-5940"}],"cwes":["CWE-74","CWE-89"],"aliases":["GHSA-6w3m-4hhp-775q","GO-2026-5940"],"references":[{"url":"https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/kedacore/keda/issues/7784","tags":["x_refsource_MISC","report"]},{"url":"https://github.com/kedacore/keda/pull/7787","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/kedacore/keda/releases/tag/v2.20.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53572.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53572","tags":["advisory"]},{"url":"https://github.com/kedacore/keda","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00386,"epssPercentile":0.33363,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-53572","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53572","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-53572","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6w3m-4hhp-775q","ok":true,"note":"GHSA-6w3m-4hhp-775q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-53572","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}