Skip to main content
MEDIUM

CVE-2026-53572

KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping

CVSS v3

5.9

MEDIUM

EPSS Score

0.4 %

exploit probability, as of 2026-10-16

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for kedacore/keda. Watch kedacore/keda in CVE Watch Free account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • github.com/kedacore/kedaGoall versions · no fixed version listed
  • github.com/kedacore/keda/v2Goall versions · fixed in 2.20.0

Full record on NVD

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
Published
2026-08-21
Last Modified
2026-08-21

Frequently asked questions

What is CVE-2026-53572?

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.

Is CVE-2026-53572 actively exploited?

Active exploitation of CVE-2026-53572 has not been confirmed. Its EPSS score was 0.4% on 2026-10-16, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-53572?

CVE-2026-53572 has a CVSS v3 base score of 5.9 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N.

Running kedacore/keda? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key