Security Vulnerability Report
中文
CVE-2026-40131 CVSS 3.4 LOW

CVE-2026-40131

Published: 2026-05-12 03:16:12
Last Modified: 2026-05-12 03:16:12

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.

CVSS Details

CVSS Score
3.4
Severity
LOW
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:L

Configurations (Affected Products)

No configuration data available.

@sap/hdi-deploy (具体受影响版本请参考SAP Note 3726962)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC Concept for CVE-2026-40131 // Demonstrates how malicious input could alter a SELECT statement // Malicious payload designed to manipulate the query logic const payload = "1' OR '1'='1' --"; // Vulnerable query construction simulation // The application might be doing something like this internally: // let query = "SELECT * FROM deployment_config WHERE id = '" + userInput + "'"; // If 'userInput' is replaced with 'payload', the query becomes: // SELECT * FROM deployment_config WHERE id = '1' OR '1'='1' --' // This would return all records, leading to information disclosure.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-40131", "sourceIdentifier": "[email protected]", "published": "2026-05-12T03:16:11.910", "lastModified": "2026-05-12T03:16:11.910", "vulnStatus": "Received", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:L", "baseScore": 3.4, "baseSeverity": "LOW", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 0.8, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://me.sap.com/notes/3726962", "source": "[email protected]"}, {"url": "https://url.sap/sapsecuritypatchday", "source": "[email protected]"}]}}