Description
A relative path traversal issue in the zip extraction functionality in AWS diagram-as-code (awsdac) in versions 0.10 through 0.23 can allow a third party to write arbitrary files to the local filesystem via crafted zip entry names containing path traversal sequences. This could allow the third party to perform inappropriate actions in the diagram bundle.



To remediate this issue, users should upgrade to the version 0.24 or later.
Published: 2026-08-27
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Write
Action: Patch
AI Analysis

Impact

A relative path traversal bug in the ZIP extraction logic of AWS Diagram‑as‑Code allows a third party to write files to arbitrary locations on the local filesystem. The flaw is triggered by crafted ZIP entry names that include path traversal sequences. If an attacker can supply such a ZIP, they can overwrite or create files, potentially leading to unauthorized configuration changes or persistence within the diagram bundle. This weakness is a classic path traversal issue catalogued as CWE‑23.

Affected Systems

The weakness affects the AWS Diagram‑as‑Code product, specifically versions 0.10 through 0.23. Users who have installed these releases are impacted. The accepted fix is to upgrade to version 0.24 or later, which removes the vulnerable extraction logic.

Risk and Exploitability

The severity is a CVSS score of 6.8. No EPSS score is available and the vulnerability is not listed in CISA KEV, indicating it has not yet been broadly exploited. The attack requires an attacker to supply a malformed ZIP to the application, which is a local or untrusted‑source scenario. Once executed, the attacker can write arbitrary files, granting them inappropriate access or control within the diagram bundle. Given the medium‑level score and lack of known exploitation evidence, vigilance is advised while ensuring systems run the patched version.

Generated by OpenCVE AI on August 28, 2026 at 09:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the application to version 0.24 or later to eliminate the vulnerable ZIP extraction logic.
  • If an upgrade is not immediately possible, enforce strict validation of ZIP entries to reject any entry path that resolves outside the intended extraction directory.
  • Restrict the file system permissions of the process running Diagram‑as‑Code so it cannot write to sensitive directories, limiting the impact of any accidental or malicious file writes.

Generated by OpenCVE AI on August 28, 2026 at 09:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 14:00:00 +0000

Type Values Removed Values Added
First Time appeared Amazon
Amazon diagram-as-code
CPEs cpe:2.3:a:amazon:diagram-as-code:*:*:*:*:*:*:*:*
Vendors & Products Amazon
Amazon diagram-as-code

Fri, 28 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description A relative path traversal issue in the zip extraction functionality in AWS diagram-as-code (awsdac) in versions 0.10 through 0.23 can allow a third party to write arbitrary files to the local filesystem via crafted zip entry names containing path traversal sequences. This could allow the third party to perform inappropriate actions in the diagram bundle. To remediate this issue, users should upgrade to the version 0.24 or later.
Title Zip Slip Arbitrary File Write in AWS diagram-as-code (awsdac)
First Time appeared Aws
Aws diagram-as-code
Weaknesses CWE-23
CPEs cpe:2.3:a:aws:diagram-as-code:*:*:*:*:*:*:*:*
Vendors & Products Aws
Aws diagram-as-code
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Amazon Diagram-as-code
Aws Diagram-as-code
cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-08-28T14:13:53.824Z

Reserved: 2026-08-27T14:53:26.474Z

Link: CVE-2026-81838

cve-icon Vulnrichment

Updated: 2026-08-28T14:06:22.334Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-27T20:18:56.900

Modified: 2026-09-04T13:51:20.710

Link: CVE-2026-81838

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T16:13:54Z

Weaknesses
  • CWE-23

    Relative Path Traversal