CVE-2026-40131

SQL Injection vulnerability in SAP HANA Deployment Infrastructure (HDI) deploy library

Published May 12, 2026 CVSS 3.1 · 3.4 Low EPSS < 1% KEV · Not listed
Description
SQL injection vulnerability exists in @sap/hdi-deploy package, where SQL queries are dynamically constructed using user input without proper parameterization or prepared statements. Successful exploitation could allow the high privileged users to alter the SELECT statements impacting confidentiality and availability of the application. There is no impact on integrity.

Analysis

AI-generated

Technical impact

An SQL injection flaw exists in the @sap/hdi-deploy package used by SAP HANA Deployment Infrastructure (HDI). The flaw allows dynamically built SELECT queries to include unsanitized user input, enabling an attacker who has elevated privileges to modify which data is returned, thereby leaking sensitive information or disrupting application functionality. The description explicitly states that the vulnerability does not affect integrity, but it can compromise data confidentiality and availability for users of the application.

Affected Systems

The affected product is the SAP HANA Deployment Infrastructure (HDI) deploy library, provided by SAP SE. All installations that include the @sap/hdi-deploy component are at risk; no specific version ranges are listed in the CNA data, so all deployed instances should be considered potentially vulnerable unless known to be on a patched version.

Risk and Exploitability

The CVSS score of 3.4 indicates a moderate severity; no EPSS score is available, so the likelihood of exploit is not quantified. Because the issue requires high‑privileged user context to execute the manipulated SELECT statements, it is likely a local or privileged‑user attack rather than a remote public exploitation. The vulnerability is not currently in the CISA KEV collection, reducing the indication of active exploitation, but the risk remains for insider or compromised administrative accounts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the SAP HANA Deployment Infrastructure to a version where the @sap/hdi-deploy package has been patched to use parameterized queries or prepared statements.
  • Review the HDI deploy library code to ensure all dynamic SQL construction is performed with safe query building practices, avoiding string concatenation of user input.
  • Limit access to the HDI deploy library and its administrative interfaces to only trusted, audited personnel, and monitor log files for suspicious SELECT statement modifications.

Generated by OpenCVE AI on May 12, 2026 at 04:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sap Se
Sap Se sap Hana Deployment Infrastructure (hdi) Deploy Library
Vendors & Products Sap Se
Sap Se sap Hana Deployment Infrastructure (hdi) Deploy Library
Type Values Removed Values Added
Description SQL injection vulnerability exists in @sap/hdi-deploy package, where SQL queries are dynamically constructed using user input without proper parameterization or prepared statements. Successful exploitation could allow the high privileged users to alter the SELECT statements impacting confidentiality and availability of the application. There is no impact on integrity.
Title SQL Injection vulnerability in SAP HANA Deployment Infrastructure (HDI) deploy library
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 3.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:L'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
sap
Published
Updated
May 12, 2026, 1:10 PM
Reserved
Apr 9, 2026, 5:29 PM
Status
Awaiting Analysis
Published
May 12, 2026, 3:16 AM
Modified
Oct 26, 2026, 6:10 PM