CVE-2026-53572KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping
Updated under an hour ago ()
Does this affect you?
It affects kedacore keda. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 5.9 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
- Weakness (CWE)
- CWE-74, CWE-89
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Awaiting Analysis
- Record last updated
- Aug 25, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
kedacore keda kedacore:keda (from the name) | before 2.20.0 | CNA record |
References
- https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775qx-refsource-confirm
- https://github.com/kedacore/keda/issues/7784x-refsource-misc
- https://github.com/kedacore/keda/pull/7787x-refsource-misc
- https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3fx-refsource-misc
- https://github.com/kedacore/keda/releases/tag/v2.20.0x-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.