๐Ÿ” CVE Alert

CVE-2026-53572

MEDIUM 5.9

KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping

CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-74 CWE-89
Vendor kedacore
Product keda
Published Aug 21, 2026
Stay Ahead of the Next One

Get instant alerts for kedacore keda

Be the first to know when new medium vulnerabilities affecting kedacore keda are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Affected Versions

kedacore / keda
< 2.20.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q github.com: https://github.com/kedacore/keda/issues/7784 github.com: https://github.com/kedacore/keda/pull/7787 github.com: https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f github.com: https://github.com/kedacore/keda/releases/tag/v2.20.0