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

Medium 6.8 Published Updated

Attackers can write arbitrary files to the local filesystem via crafted zip entries in AWS diagram-as-code, potentially compromising the diagram bundle.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-81838?

CVE-2026-81838 is a medium-severity path traversal vulnerability in aws diagram-as-code, published on 27 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-23

Which versions are affected by CVE-2026-81838?

It affects 1 product.

Products include Amazon Diagram-as-Code.

How do I fix CVE-2026-81838?

No fix has been published for CVE-2026-81838 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-81838 being exploited?

There is no known exploitation of CVE-2026-81838 in the wild and no public exploit code.

Sources

Also known as GHSA-5w99-758f-6jvm.

Is CVE-2026-81838 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free