{"cve":"CVE-2026-53572","nvd":{"published":"2026-08-21T21:16:59.957","modified":"2026-10-12T16:10:00.220","status":"Awaiting Analysis","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-74","CWE-89"],"references":["https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f","https://github.com/kedacore/keda/issues/7784","https://github.com/kedacore/keda/pull/7787","https://github.com/kedacore/keda/releases/tag/v2.20.0","https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-53572","score":0.00386,"percentile":0.32342,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-6w3m-4hhp-775q","url":"https://osv.dev/vulnerability/GHSA-6w3m-4hhp-775q","summary":"KEDA has PostgreSQL connection string parameter injection via incomplete whitespace escaping","modified":"2026-09-10T03:50:51.454382163Z","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"]}]},{"id":"GO-2026-5940","url":"https://osv.dev/vulnerability/GO-2026-5940","summary":"KEDA has PostgreSQL connection string parameter injection via incomplete whitespace escaping in github.com/kedacore/keda","modified":"2026-07-21T19:15:26.408230646Z","packages":[{"ecosystem":"Go","name":"github.com/kedacore/keda","purl":"pkg:golang/github.com/kedacore/keda","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/kedacore/keda/v2","purl":"pkg:golang/github.com/kedacore/keda/v2","ranges":["<2.20.0"],"fixed":["2.20.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}