# CVE-2021-4007: Rapid7 Insight Agent Privilege Escalation

- Severity: High 7.8 (CVSS:3.1, scored by rapid7) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/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): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2021-12-14T14:55:14.461Z
- Modified: 2026-06-17T04:18:53.310Z
- Weaknesses: CWE-427
- Assigned by: rapid7

## Description

Rapid7 Insight Agent, versions 3.0.1 to 3.1.2.34, suffer from a local privilege escalation due to an uncontrolled DLL search path. Specifically, when Insight Agent versions 3.0.1 to 3.1.2.34 start, the Python interpreter attempts to load python3.dll at "C:\DLLs\python3.dll," which normally is writable by locally authenticated users. Because of this, a malicious local user could use Insight Agent's startup conditions to elevate to SYSTEM privileges. This issue was fixed in Rapid7 Insight Agent 3.1.2.35. This vulnerability is a regression of CVE-2019-5629.

(As written by CVE List.)

## Affected

- Rapid7 Insight Agent: from 3.0.1 before 3.0.1*; from 3.1.2.34 up to 3.1.2.34
- rapid7 insight_agent: from 3.0.1 before 3.1.2.35

## Every score

- rapid7: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://docs.rapid7.com/release-notes/insightagent/20211210/> (release-notes, third-party-advisory)
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-5629> (third-party-advisory)

## Sources

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

---

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