High severity7.8NVD Advisory· Published Dec 14, 2021· Updated Jun 17, 2026
CVE-2021-4007
CVE-2021-4007
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.
Affected products
3cpe:2.3:a:rapid7:insight_agent:*:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:a:rapid7:insight_agent:*:*:*:*:*:*:*:*range: >=3.0.1,<3.1.2.35
- (no CPE)range: 3.0.1 - 3.1.2.34
- (no CPE)range: 3.0.1
Patches
Vulnerability mechanics
References
2- cve.mitre.org/cgi-bin/cvename.cginvdThird Party Advisory
- docs.rapid7.com/release-notes/insightagent/20211210/nvdRelease NotesThird Party Advisory
News mentions
0No linked articles in our index yet.