AWS CLI: Overly permissive File Permissions
Summary
The AWS Command Line Interface (AWS CLI) is a unified tool for managing AWS services from the command line. Certain CLI subcommands wrote credential and configuration files with world-readable permissions on Unix-like systems with a default umask, allowing other local users on the same host to read credentials.
Impact
On Unix-like systems with a default umask, the following AWS CLI subcommands wrote credential or configuration files with world-readable permissions (0644) instead of owner-only (0600):
-
aws codeartifact login
-
aws iam create-virtual-mfa-device
-
aws deploy register
Any other local user on the same host could read these files and obtain the credentials.
Impacted versions: <=1.44.77 (v1) AND <=2.34.28 (v2)
Patches
This issue has been addressed in AWS CLI v1 version 1.44.78 and AWS CLI v2 version 2.34.29. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.
If you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | awscli | < 1.44.78 | 1.44.78 |
Verweise
- https://github.com/aws/aws-cli/security/advisories/GHSA-wfp6-f47h-hxc3
- https://nvd.nist.gov/vuln/detail/CVE-2026-13769
- https://github.com/aws/aws-cli/pull/10191
- https://github.com/aws/aws-cli/pull/10194
- https://github.com/aws/aws-cli/pull/10206
- https://github.com/aws/aws-cli/commit/68811b5ad5cd74d06e944e073ee17bf889babf13
- https://github.com/aws/aws-cli/commit/84f0ec6afda03f8a26ff8dea403d02b1b31ee610
- https://github.com/aws/aws-cli/commit/e0799fde3c5e3138163e488e42bd3df7a0aa158f
- https://aws.amazon.com/security/security-bulletins/2026-049-aws
- https://github.com/aws/aws-cli
- https://github.com/aws/aws-cli/releases/tag/1.44.78
- https://github.com/aws/aws-cli/releases/tag/2.34.29
- https://pypi.org/project/awscli
- https://github.com/advisories/GHSA-wfp6-f47h-hxc3
- CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Schwäche (CWE)
CWE-732- Plattform
- Python (PyPI)
- Paket
awscli- Veröffentlicht
- 24.07.2026
- Aktualisiert
- 11.10.2026 15:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-3548 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-wfp6-f47h-hxc3 - CC BY 4.0
Schwachstellenhistorie: awscli
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 3
- Erste → letzte
- 02.2026 08.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Mittel 3
Veröffentlichungen pro Jahr
- 2026: 3
-
AWS CLI: Overly permissive File Permissions dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.