AWS Security ChangesHomeSearch

AWS codedeploy: CodeDeploy agent v2.1.4 security fixes and cert trust change

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

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

Summary

Adds the v2.1.4 version history entry: agent now also trusts host trust store CAs when connecting to the CodeDeploy endpoint, improved file system permissions on the Windows agent install folder during upgrade, and improved how the agent loads system libraries on Windows Server.

Security assessment

Release notes explicitly flag two security changes: tighter ACLs on the agent installation folder and a change to how the agent loads system libraries on Windows (DLL search-order hardening, mitigating library-planting/privilege escalation), plus a TLS trust-store behavior change affecting endpoint certificate validation.

Evidence

+2.1.4 |  November 16, 2026 |  **Fixed** : The agent now trusts the certificate authorities in the host trust store, in addition to its bundled public certificate authorities, when it connects to the CodeDeploy service endpoint. Previously, the agent couldn't connect if the endpoint's certificate chained to a certificate authority that only the host trust store contains. **Changed (security)** : Improved file system permissions on the agent installation folder on Windows Server when you upgrade from an earlier version. **Changed (security)** : Improved how the agent loads system libraries on Windows Server.  

Diff

diff --git a/codedeploy/latest/userguide/codedeploy-agent.md b/codedeploy/latest/userguide/codedeploy-agent.md
index c9c756f..e026349 100644
--- a//codedeploy/latest/userguide/codedeploy-agent.md
+++ b//codedeploy/latest/userguide/codedeploy-agent.md
@@ -137,0 +138 @@ Version | Release date | Details
+2.1.4 |  November 16, 2026 |  **Fixed** : The agent now trusts the certificate authorities in the host trust store, in addition to its bundled public certificate authorities, when it connects to the CodeDeploy service endpoint. Previously, the agent couldn't connect if the endpoint's certificate chained to a certificate authority that only the host trust store contains. **Changed (security)** : Improved file system permissions on the agent installation folder on Windows Server when you upgrade from an earlier version. **Changed (security)** : Improved how the agent loads system libraries on Windows Server.