AWS Security ChangesHomeSearch

AWS codedeploy: Clarify when agent folder permissions fix applies (v2.1.4 upgrades)

Service: codedeploy · 2026-11-19 · Security-related medium

File: codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md · Type: privilege-escalation

Summary

Clarifies that the restrictive ACLs on the CodeDeploy agent installation folder (Administrators/SYSTEM only for writes) are applied on new installs from v2.1.3 and on existing installs only after upgrading to v2.1.4 or later.

Security assessment

The added sentence documents the scope of a file-system permission hardening on the agent install folder: writable only by Administrators and SYSTEM. It tells users that previously unhardened existing installations are only remediated by upgrading to 2.1.4+, addressing a weakness where standard users could tamper with agent files.

Evidence

+For version 2.1.3 and later, only the Administrators group and the SYSTEM account can modify this folder and its contents. Standard users can read the folders that the agent creates for deployments, such as `deployment-logs`, but can't modify them. These permissions are applied to a new installation from version 2.1.3, and to an existing installation when you upgrade to version 2.1.4 or later.

Diff

diff --git a/codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md b/codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md
index 9557119..4a3defb 100644
--- a//codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md
+++ b//codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md
@@ -28 +28 @@ The folder that the CodeDeploy agent is installed to is `C:\ProgramData\Amazon\C
-For version 2.1.3 and later, only the Administrators group and the SYSTEM account can modify this folder and its contents. Standard users can read the folders that the agent creates for deployments, such as `deployment-logs`, but can't modify them.
+For version 2.1.3 and later, only the Administrators group and the SYSTEM account can modify this folder and its contents. Standard users can read the folders that the agent creates for deployments, such as `deployment-logs`, but can't modify them. These permissions are applied to a new installation from version 2.1.3, and to an existing installation when you upgrade to version 2.1.4 or later.