CVE-2021-4016 in Rapid7 Insight Agent
Rapid7 Insight Agent, versions prior to 3.1.3, suffer from an improper access control vulnerability whereby, the user has access to the snapshot directory. An attacker can access, read and copy any of the files in this directory e.g. asset_info.json or file_info.json, leading to a loss of confidentiality. This issue...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Rapid7 | Insight Agent | ≥ 3.1.3, < 3.1.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Rapid7 Insight Agent, versions prior to 3.1.3, suffer from an improper access control vulnerability whereby, the user has access to the snapshot directory. An attacker can access, read and copy any of the files in this directory e.g. asset_info.json or file_info.json, leading to a loss of confidentiality. This issue was fixed in Rapid7 Insight Agent 3.1.3.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-4016 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-071109-L |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Published | 2022-01-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-284: Improper Access Control
Software does not restrict or incorrectly restricts access to a resource.
Related attack patterns (CAPEC)
CAPEC-478 Modification of Windows Service Configuration via CWE-284
CAPEC-479 Malicious Root Certificate via CWE-284
CAPEC-546 Incomplete Data Deletion in a Multi-Tenant Environment via CWE-284
CAPEC-550 Install New Service via CWE-284
CAPEC-551 Modify Existing Service via CWE-284
Show all 17
CAPEC-552 Install Rootkit via CWE-284
CAPEC-556 Replace File Extension Handlers via CWE-284
CAPEC-558 Replace Trusted Executable via CWE-284
CAPEC-562 Modify Shared File via CWE-284
CAPEC-563 Add Malicious File to Shared Webroot via CWE-284
CAPEC-564 Run Software at Logon via CWE-284
CAPEC-19 Embedding Scripts within Scripts via CWE-284
CAPEC-502 Intent Spoof via CWE-284
CAPEC-503 WebView Exposure via CWE-284
CAPEC-536 Data Injected During Configuration via CWE-284
CAPEC-578 Disable Security Software via CWE-284
CAPEC-441 Malicious Logic Insertion via CWE-284
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Rapid7 Insight Agent versions prior to 3.1.3 have an improper access control vulnerability that allows unauthorized users to access sensitive files in the snapshot directory, leading to a loss of confidentiality.
An attacker with access to the system can exploit improper access controls to read and copy files such as asset_info.json or file_info.json from the snapshot directory, potentially exposing sensitive information.
Questions
What is CVE-2021-4016?
Rapid7 Insight Agent versions prior to 3.1.3 have an improper access control vulnerability that allows unauthorized users to access sensitive files in the snapshot directory, leading to a loss of confidentiality.
What is the CVSS score for CVE-2021-4016?
CVE-2021-4016 has CVSS 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.2%.
Is CVE-2021-4016 actively exploited?
No confirmed active exploitation of CVE-2021-4016 as of 2026-09-25.
How do I remediate CVE-2021-4016?
Priority: HIGH. Advisory: https://docs.rapid7.com/release-notes/insightagent/20220119/
What systems are affected by CVE-2021-4016?
CVE-2021-4016 affects Rapid7 Insight Agent.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Rapid7","product":"Insight Agent","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.