CVE-2026-81838

Zip Slip Arbitrary File Write in AWS diagram-as-code (awsdac)

Published Aug 27, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-23

    Relative Path Traversal

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Aug 28, 2026, 2:13 PM
Reserved
Aug 27, 2026, 2:53 PM
Status
Analyzed
Published
Aug 27, 2026, 8:18 PM
Modified
Sep 4, 2026, 1:51 PM