CVE-2026-53572
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 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.
INFO
Published Date :
Aug. 21, 2026, 9:16 p.m.
Last Modified :
Oct. 12, 2026, 4:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE |
Solution
- Update KEDA to version 2.20.0 or later.
- Review and validate all database connection strings.
- Limit creation/modification of TriggerAuthentication objects.
- Limit creation/modification of ScaledObject objects.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-53572.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-53572 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-53572
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-53572 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-53572 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 12, 2026
Action Type Old Value New Value Added Translation Title: keda de kedacore, Description: KEDA es un componente de autoescalado basado en eventos y en Kubernetes. Antes de la versión 2.20.0, pkg/scalers/postgresql_scaler.go construye cadenas de conexión estilo libpq a partir de valores controlados por el inquilino para host, puerto, userName, dbName, sslmode y password, mientras que escapePostgreConnectionParameter() solo entrecomilla los valores que contienen un espacio literal. Las tabulaciones, saltos de línea, retornos de carro, avances de página, tabulaciones verticales, comillas y barras invertidas pueden, por lo tanto, crear tokens clave-valor adicionales cuando pgx analiza la cadena. Un atacante capaz de crear o modificar un TriggerAuthentication o un ScaledObject puede inyectar parámetros de host o sslmode, redirigir la conexión de la base de datos a un servidor controlado por el atacante, exponer credenciales o deshabilitar la protección TLS prevista. Este problema está corregido en la versión 2.20.0. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 25, 2026
Action Type Old Value New Value Added Reference https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q Added SSVC {'id': 'CVE-2026-53572', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-08-25T17:13:16.119842Z'} -
New CVE Received by [email protected]
Aug. 21, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'kedacore', 'product': 'keda', 'versions': [{'status': 'affected', 'version': '< 2.20.0'}]}] Added 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. Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N Added CWE CWE-89 Added CWE CWE-74 Added Reference https://github.com/kedacore/keda/commit/703de9dec86cb25b6ecfa4948880a90487344d3f Added Reference https://github.com/kedacore/keda/issues/7784 Added Reference https://github.com/kedacore/keda/pull/7787 Added Reference https://github.com/kedacore/keda/releases/tag/v2.20.0 Added Reference https://github.com/kedacore/keda/security/advisories/GHSA-6w3m-4hhp-775q