# CVE-2021-31831: Incorrect access to deleted scripts vulnerability in McAfee DBSec

- Severity: Medium 4.9 (CVSS:3.1, scored by trellix) `CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- 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): 0.64%, higher than 51% of CVEs (2026-12-01)
- Published: 2021-06-03T10:10:11.000Z
- Modified: 2026-06-17T03:52:18.750Z
- Weaknesses: CWE-552
- Assigned by: trellix

## Description

Incorrect access to deleted scripts vulnerability in McAfee Database Security (DBSec) prior to 4.8.2 allows a remote authenticated attacker to gain access to signed SQL scripts which have been marked as deleted or expired within the administrative console. This access was only available through the REST API.

(As written by CVE List.)

## Affected

- McAfee,LLC McAfee Database Security (DBSec): from unspecified before 4.8.2
- mcafee database_security: before 4.8.2

## Every score

- trellix: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://kc.mcafee.com/corporate/index?page=content&id=SB10359> (broken-link)

## Sources

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

---

Page: https://cve.day/CVE-2021-31831 · Whole record: https://cve.day/CVE-2021-31831.json · Rebuilt by cve.day 2026-11-25T22:58:01.631Z
