{"answers":{"affected":"4 open source packages ship an affected version, including github.com/kedacore/keda/v2 and github.com/kedacore/keda.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53572 exists.","fix":"Upgrade github.com/kedacore/keda/v2 to 2.20.0 or later.","what":"CVE-2026-53572 is a medium-severity vulnerability in kedacore keda, published on 21 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-53572 and fix it if it is affected.\n\nWhat it is: CVE-2026-53572 is a medium-severity vulnerability in kedacore keda, published on 21 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53572 exists.\n\nAffected packages and fixed versions:\n- github.com/kedacore/keda/v2 (Go): affected all versions; fixed in 2.20.0\n- github.com/kedacore/keda/v2 (Go): affected all versions; fixed in 2.20.0\n- github.com/kedacore/keda/v2 (Go): affected all versions; fixed in 2.20.0\n- github.com/kedacore/keda (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-53572/ (Markdown: https://insights.sbomify.com/CVE-2026-53572/index.md)","id":"CVE-2026-53572","markdown":"https://insights.sbomify.com/CVE-2026-53572/index.md","name":"CVE-2026-53572","record":{"aliases":["AZL-96989","ECHO-4ad8-fcaa-9133","GHSA-6w3m-4hhp-775q","GO-2026-5940","MINI-4h33-945m-h8c5","MINI-6wg2-f427-7h3m","MINI-7xqc-6cm7-j775","MINI-8q2q-cr2f-49pv","MINI-hmgq-qh4w-gvp2","MINI-mh6w-8crr-8fjm","MINI-mr5v-g33c-93f4","MINI-qw9f-jq4x-qfjc"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes autoscaler","requires_auth":"low_privilege","summary":"Attackers can inject parameters into PostgreSQL connection strings to redirect database connections, exposing credentials or bypassing TLS.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping","id":"CVE-2026-53572","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2026"},"n_packages":4,"n_references":5,"next":{"headline":"core-geonetwork has an Open Redirect Bypass","id":"CVE-2026-53573"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/kedacore/keda","purl":"pkg:golang/github.com/kedacore/keda","source":"GO-2026-5940"},{"ecosystem":"Go","fixed":["2.20.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kedacore/keda/v2","purl":null,"source":"GHSA-6w3m-4hhp-775q"},{"ecosystem":"Go","fixed":["2.20.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kedacore/keda/v2","purl":"pkg:golang/github.com/kedacore/keda/v2","source":"GHSA-6w3m-4hhp-775q"},{"ecosystem":"Go","fixed":["2.20.0"],"introduced":["0"],"last_affected":[],"package":"github.com/kedacore/keda/v2","purl":"pkg:golang/github.com/kedacore/keda/v2","source":"GO-2026-5940"}],"prev":{"headline":"Vite: `server.fs.deny` bypass on Windows alternate paths","id":"CVE-2026-53571"},"products":["keda"],"published":"2026-08-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-25","vendors":["kedacore"]},"summary":"Attackers can inject parameters into PostgreSQL connection strings to redirect database connections, exposing credentials or bypassing TLS.","url":"https://insights.sbomify.com/CVE-2026-53572/"}