CVE-2022-25165 in Amazon Aws Client Vpn
An issue was discovered in Amazon AWS VPN Client 2.0.0. A TOCTOU race condition exists during the validation of VPN configuration files. This allows parameters outside of the AWS VPN Client allow list to be injected into the configuration file prior to the AWS VPN Client service (running as SYSTEM) processing the fi...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Amazon | Aws Client Vpn | 2.0.0 |
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
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in Amazon AWS VPN Client 2.0.0. A TOCTOU race condition exists during the validation of VPN configuration files. This allows parameters outside of the AWS VPN Client allow list to be injected into the configuration file prior to the AWS VPN Client service (running as SYSTEM) processing the file. Dangerous arguments can be injected by a low-level user such as log, which allows an arbitrary destination to be specified for writing log files. This leads to an arbitrary file write as SYSTEM with partial control over the files content. This can be abused to cause an elevation of privilege or denial of service.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-25165 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-069266-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-04-14 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-367: CWE-367
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A Time-of-Check to Time-of-Use (TOCTOU) race condition in Amazon AWS VPN Client 2.0.0 allows unauthorized parameters to be injected into VPN configuration files, potentially leading to privilege escalation.
An attacker with low-level user privileges can inject malicious arguments into the VPN configuration file before the AWS VPN Client service processes it. This can lead to the execution of arbitrary commands with SYSTEM privileges.
Questions
What is CVE-2022-25165?
A Time-of-Check to Time-of-Use (TOCTOU) race condition in Amazon AWS VPN Client 2.0.0 allows unauthorized parameters to be injected into VPN configuration files, potentially leading to privilege escalation.
What is the CVSS score for CVE-2022-25165?
CVE-2022-25165 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2022-25165 actively exploited?
No confirmed active exploitation of CVE-2022-25165 as of 2026-09-25.
How do I remediate CVE-2022-25165?
Priority: HIGH.
What systems are affected by CVE-2022-25165?
CVE-2022-25165 affects Amazon Aws Client Vpn.
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":"Amazon","product":"Aws Client Vpn","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.