# CVE-2022-23511: Amazon CloudWatch Agent for Windows has Privilege Escalation Vector

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/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.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2022-12-12T00:00:00.000Z
- Modified: 2026-06-17T04:30:16.257Z
- Also known as: GHSA-j8x2-2m5w-j939, GO-2022-1160
- Weaknesses: CWE-274
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

A privilege escalation issue exists within the Amazon CloudWatch Agent for Windows, software for collecting metrics and logs from Amazon EC2 instances and on-premises servers, in versions up to and including v1.247354. When users trigger a repair of the Agent, a pop-up window opens with SYSTEM permissions. Users with administrative access to affected hosts may use this to create a new command prompt as NT AUTHORITY\SYSTEM. To trigger this issue, the third party must be able to access the affected host and elevate their privileges such that they're able to trigger the agent repair process. They must also be able to install the tools required to trigger the issue. This issue does not affect the CloudWatch Agent for macOS or Linux. Agent users should upgrade to version 1.247355 of the CloudWatch Agent to address this issue. There is no recommended work around. Affected users must update the installed version of the CloudWatch Agent to address this issue.

(As written by CVE List.)

## Affected

- aws amazon-cloudwatch-agent: < 1.247355
- github.com/aws/amazon-cloudwatch-agent (Go): before 1.247355.0
- amazon cloudwatch_agent: before 1.247355

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:L`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/aws/amazon-cloudwatch-agent/security/advisories/GHSA-j8x2-2m5w-j939> (advisory, patch, third-party-advisory, web)
- <https://github.com/aws/amazon-cloudwatch-agent/commit/6119858864c317ff26f41f576c169148d1250837#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23511> (advisory)
- <https://github.com/aws/amazon-cloudwatch-agent/commit/6119858864c317ff26f41f576c169148d1250837> (fix, web)
- <https://github.com/aws/amazon-cloudwatch-agent> (package)

## Sources

- CVE List: [CVE-2022-23511](https://www.cve.org/CVERecord?id=CVE-2022-23511), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-j8x2-2m5w-j939](https://github.com/advisories/GHSA-j8x2-2m5w-j939), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-1160](https://pkg.go.dev/vuln/GO-2022-1160), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2022-23511](https://nvd.nist.gov/vuln/detail/CVE-2022-23511), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23511 · Whole record: https://cve.day/CVE-2022-23511.json · Rebuilt by cve.day 2026-11-25T22:58:17.365Z
