Security Resilience

CVE-2025-9039

Amazon ECS

Published
14 August 2025
Modified
17 June 2026
CVSS Score v4 5.3
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0031 24th percentile
Risk Priority 32 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-9039 is a medium-severity Insecure Inherited Permissions (CWE-277) vulnerability in Amazon ECS (named in the CVE record; NVD lists no product yet). Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Executable Installer File Permissions Weakness (T1574.005); ranked at the 24th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-6 (Least Privilege) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

We identified an issue in the Amazon ECS agent where, under certain conditions, an introspection server could be accessed off-host by another instance if the instances are in the same security group or if their security groups allow incoming connections…

more

that include the port where the server is hosted. This issue does not affect instances where the option to allow off-host access to the introspection server is set to 'false'. This issue has been addressed in ECS agent version 1.97.1. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. If customers cannot update to the latest AMI, they can modify the Amazon EC2 security groups to restrict incoming access to the introspection server port (51678).

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1574.005 Executable Installer File Permissions Weakness Stealth
Adversaries may execute their own malicious payloads by hijacking the binaries used by an installer.
T1574.010 Services File Permissions Weakness Stealth
Adversaries may execute their own malicious payloads by hijacking the binaries used by services.
T1530 Data from Cloud Storage Collection
Adversaries may access data from cloud storage.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
T1574.011 Services Registry Permissions Weakness Stealth
Adversaries may execute their own malicious payloads by hijacking the Registry entries used by services.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-34329Shared CWE-277
CVE-2024-7143Shared CWE-277
CVE-2024-36542Shared CWE-277
CVE-2025-20629Shared CWE-277
CVE-2025-31332Shared CWE-277
CVE-2024-27847Shared CWE-277
CVE-2024-27822Shared CWE-277
CVE-2024-29417Shared CWE-277
CVE-2023-28207Shared CWE-277
CVE-2023-45736Shared CWE-277

Affected Assets

Amazon
ECS
named in the CVE record; NVD lists no product yet

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 7 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)

—

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Least privilege requires that only the minimal necessary permissions are granted, which structurally prevents the definition and inheritance of overly broad permissions.

Access enforcement directly stops insecure inherited permissions from being applied to new objects by requiring all access decisions to follow approved authorizations.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 mostly match
blocks

Directly addresses defining and enforcing secure access permissions and least privilege, which prevents insecure inheritance.

PR.PS-01 partial match
blocks

Configuration management practices include establishing secure permission baselines that avoid insecure inheritance.

PR.PS-06 partial match
blocks

Secure SDLC practices would catch and prevent defining insecure inherited permissions during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing may detect permission issues but does not prevent insecure inheritance by design.

removes

A.5.36 mandates a compliance review process that identifies non-compliance and directs corrective actions, but it does not itself change insecure inherited permissions on existing objects; the removal is performed by the corrective action, not by the review clause.

prevents

Secure coding standards can explicitly require setting restrictive permissions at object creation, directly mitigating insecure inheritance.

blocks

A.8.3's access control mechanisms (identity-based permissions, configuration controls, dynamic access management) can block exploitation of insecure inherited permissions at higher layers (network, application, service), but the inherited permissions remain the primary access control on the objects themselves, so local or direct exploitation paths are not reached by the clause.

finds

A.8.9's reach is configuration settings (templates, parameters, services) compared against target baselines; CWE-277 is a code-level defect where the program itself defines insecure inherited permissions for objects it creates (e.g., umask in temp-file creation), which configuration monitoring does not inspect.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Windows Server 2016 (1 rule, 1 more partial)
  • V-224974 Domain-created Active Directory Organizational Unit (OU) objects must have proper access control permissions. blocks CWE-277
  • V-224972 Active Directory Group Policy objects must have proper access control permissions. blocks CWE-277
Windows Server 2019 (1 rule, 1 more partial)
  • V-205743 Windows Server 2019 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. blocks CWE-277
  • V-205741 Windows Server 2019 Active Directory Group Policy objects must have proper access control permissions. blocks CWE-277

References