Description
Overly permissive file permissions in AWS CLI before 1.44.78 (v1) and 2.34.29 (v2) on Unix-like systems where the umask has not been configured to restrict file permissions (the default on most systems) may allow other local users on the same host to read credentials written by certain CLI subcommands (aws codeartifact login, aws iam create-virtual-mfa-device, aws deploy register).

To remediate this issue, users should upgrade to AWS CLI 1.44.78 (v1) or 2.34.29 (v2) or later.
Published: 2026-07-01
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises from overly permissive file permissions set by the AWS Command Line Interface on Unix‑like operating systems when the default umask is not restrictive, constituting a CWE‑277 (Least Privilege) and CWE‑732 (Access Control) weakness. Certain CLI subcommands write AWS credential files that become world‑readable, enabling any local user on the same host to read credentials that were intended to remain confidential. This poses a credential compromise risk on systems with multiple local users or shared environments, requiring no network access from the attacker.

Affected Systems

Affected installations are AWS CLI versions earlier than 1.44.78 (v1) and earlier than 2.34.29 (v2) running on Unix‑like operating systems. The flaw does not exist in environments where the umask is set to restrict file permissions (e.g., umask 077) before executing credential‑writing commands.

Risk and Exploitability

The CVSS score of 6.8 places the flaw in the medium severity range. The EPSS score is less than 1%, indicating a low but non‑zero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalogue. The attack vector is local; any local user who can read files on the host can retrieve exposed credentials, making exploitation straightforward in multi‑user or shared‑system scenarios.

Generated by OpenCVE AI on July 22, 2026 at 14:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to AWS CLI 1.44.78 for v1 or 2.34.29 for v2 or newer.
  • Set a restrictive umask (e.g., umask 077) before running credential‑producing commands to prevent world‑readable files.
  • Execute credential‑writing commands inside isolated environments such as containers or dedicated limit local exposure.

Generated by OpenCVE AI on July 22, 2026 at 14:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 07 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-277
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 01 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Description Overly permissive file permissions in AWS CLI before 1.44.78 (v1) and 2.34.29 (v2) on Unix-like systems where the umask has not been configured to restrict file permissions (the default on most systems) may allow other local users on the same host to read credentials written by certain CLI subcommands (aws codeartifact login, aws iam create-virtual-mfa-device, aws deploy register). To remediate this issue, users should upgrade to AWS CLI 1.44.78 (v1) or 2.34.29 (v2) or later.
Title Overly permissive File Permissions in AWS CLI
Weaknesses CWE-732
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-07-01T19:24:53.753Z

Reserved: 2026-06-29T20:24:05.617Z

Link: CVE-2026-13769

cve-icon Vulnrichment

Updated: 2026-07-01T19:24:50.593Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-01T18:34:19Z

Links: CVE-2026-13769 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-22T14:15:02Z

Weaknesses
  • CWE-277

    Insecure Inherited Permissions

  • CWE-732

    Incorrect Permission Assignment for Critical Resource