# CVE-2021-21465: The BW Database Interface allows an attacker with low privileges to execute any crafted database queries, exposing the backend database.

- Severity: Critical 9.9 (CVSS:3.0, scored by sap) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.72%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-01-12T14:40:57.000Z
- Modified: 2026-06-17T03:35:37.570Z
- Weaknesses: CWE-89
- Assigned by: sap

## Description

The BW Database Interface allows an attacker with low privileges to execute any crafted database queries, exposing the backend database. An attacker can include their own SQL commands which the database will execute without properly sanitizing the untrusted data leading to SQL injection vulnerability which can fully compromise the affected SAP system.

(As written by CVE List.)

## Affected

- SAP SE SAP Business Warehouse: < 710; < 711; < 730; < 731; < 740; < 750; < 751; < 752; < 753; < 754; < 755; < 782
- sap business_warehouse: 710; 711; 730; 731; 740; 750; 751; 752; 753; 754; 755; 782

## Every score

- sap: CVSS:3.0 9.9 Critical `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <http://seclists.org/fulldisclosure/2022/May/42> (exploit, mailing-list, third-party-advisory)
- <http://packetstormsecurity.com/files/167229/SAP-Application-Server-ABAP-ABAP-Platform-Code-Injection-SQL-Injection-Missing-Authorization.html> (exploit, third-party-advisory, vdb-entry)
- <https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=564760476> (vendor-advisory)
- <https://launchpad.support.sap.com/#/notes/2986980> (permissions-required)

## Sources

- CVE List: [CVE-2021-21465](https://www.cve.org/CVERecord?id=CVE-2021-21465), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-21465](https://nvd.nist.gov/vuln/detail/CVE-2021-21465), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21465 · Whole record: https://cve.day/CVE-2021-21465.json · Rebuilt by cve.day 2026-11-25T22:57:59.253Z
