CVE-2026-53572 json
KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping
published 2026-07-07 4 mo ago modified 2026-10-12 27 d ago also GHSA-6w3m-4hhp-775q , GO-2026-5940 , EUVD-2026-64131
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/kedacore/keda/v2 2.20.0
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/kedacore/keda@703de9d commit
- github.com/kedacore/keda#7787 pull request
- github.com/kedacore/keda/releases/tag/v2.20.0 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/kedacore/keda/v2 | <2.20.0 |
2.20.0 |
| go | github.com/kedacore/keda | all versions |
no fix listed |
Affected products
- kedacore keda
Classification
References
- github.com /kedacore/keda/pull/7787
- github.com /kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f
-
github.com
/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q
exploit, web, advisory
- github.com /kedacore/keda/issues/7784
- github.com /kedacore/keda/releases/tag/v2.20.0
-
github.com
/kedacore/keda
package
Sources
- CVE List CVE-2026-53572
- GitHub Advisory GHSA-6w3m-4hhp-775q
- NVD CVE-2026-53572
- OSV GO-2026-5940
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.