Skip to main content

awsdac CVE-2026-81838

| EUVDEUVD-2026-67232 MEDIUM
Relative Path Traversal (CWE-23)
2026-08-27 AMZN GHSA-5w99-758f-6jvm
6.8
CVSS 4.0 · Vendor: AMZN
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft zip with path traversal entries
  2. Delivery
    Distribute malicious diagram bundle via sharing channel
  3. Exploit
    Victim invokes awsdac against bundle
  4. Execution
    Traversal entries escape extraction directory
  5. Persist
    Arbitrary files overwrite configs or scripts
  6. Impact
    Attacker achieves persistence or privilege escalation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

The victim must actively process a malicious diagram bundle (zip file) using awsdac versions 0.10 through 0.23 - confirmed by the UI:A metric in the provided CVSS 4.0 vector. The attacker requires no authentication or privileges on the victim's system (PR:N) but must deliver the bundle through a social-engineering channel such as a shared diagram repository, email, or download link. The attack vector is local (AV:L), meaning exploitation occurs on the victim's own machine when they invoke awsdac against the crafted file. Exploitation is strictly limited by the requirement for deliberate user interaction; automated or unsolicited remote compromise of unpatched systems is not possible - a victim must choose to process the malicious bundle.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H) scores 6.8, reflecting a local attack requiring user interaction with high integrity and availability impact but no confidentiality exposure. Real-world risk is meaningfully constrained by the delivery mechanism: the attacker must convince a user to process a malicious diagram bundle, which limits opportunistic or mass exploitation and positions this squarely as a targeted social-engineering threat. No EPSS score is included in the available data, so exploitation probability cannot be quantified; the absence of a CISA KEV listing and any known public exploit code further supports a moderate rather than urgent prioritization for most organizations. Teams that routinely consume externally authored or community-shared diagram bundles face elevated exposure compared to those processing only internally controlled diagrams. The CVSS integrity and availability signals are consistent with the description - arbitrary file writes can overwrite scripts or configs, enabling persistence - so no conflict between the vector and the narrative is apparent.

Exploit ScenarioDerived

An attacker crafts a malicious diagram bundle zip file containing entries with path traversal sequences such as '../../cron.d/backdoor' or '../../.ssh/authorized_keys'. The bundle is distributed via a public diagram-sharing repository, email attachment, or community forum targeting awsdac users. When a victim processes the bundle with an affected awsdac version, files are silently written outside the intended extraction directory, potentially enabling persistence or privilege escalation without any visible error.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 27, 2026

Zip extraction in AWS diagram-as-code (awsdac) versions 0.10 through 0.23 is vulnerable to relative path traversal (CWE-23), enabling a third party to write arbitrary files outside the intended extraction directory by embedding crafted path sequences in zip entry names within a malicious diagram bundle. Exploitation requires user interaction - a victim must actively process the attacker-supplied bundle - making this a social-engineering-dependent local attack. AWS has released a patched version 0.24; no active exploitation or public exploit code has been identified at time of analysis.

RemediationAI

Upgrade awsdac to version 0.24 or later, which contains the hotfix addressing this path traversal issue per the GitHub release at https://github.com/awslabs/diagram-as-code/releases/tag/v0.24 and the AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-090-aws/. For teams unable to upgrade immediately, the primary compensating control is to restrict awsdac to processing diagram bundles sourced exclusively from trusted, internally controlled repositories, refusing to process any zip bundle received from external, public, or untrusted parties. This control neutralizes the social-engineering delivery vector but does not eliminate the underlying code vulnerability and should be treated as temporary.

Affected VersionsENISA

diagram-as-code 0.10 ≤0.23

Affected Packages

euvd diagram_as_code no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AWS diagram-as-code (awsdac) is a Go-based tool that generates AWS architecture diagrams from declarative code, supporting diagram bundles distributed as zip archives. CWE-23 (Relative Path Traversal) arises when archive extraction logic fails to canonicalize or reject entry filenames containing sequences such as '../' before writing to disk, allowing entries like '../../.bashrc' to escape the target directory. The affected CPE is cpe:2.3:a:aws:diagram-as-code:*:*:*:*:*:*:*:*, covering versions 0.10 through 0.23. The GitHub v0.24 release identifies PR #297 as a 'Hotfix' by maintainer @mikanbox, confirming the sanitization gap was addressed in that commit. The related dependency bumps in the same release (golang.org/x/image, golang.org/x/net) are unrelated to this vulnerability.

Know when AWS gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (AMZN) PRIMARY 6.8 MEDIUM
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
vuln.today AI 7.1 HIGH

Local vector because exploitation occurs on the victim's machine when processing the file; user interaction required to open the bundle; no confidentiality impact from file writes alone.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AMZN).

CVSS VectorVendor: AMZN

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
niche AWS architecture diagramming tool, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in AWS

View all
CVE-2026-103956 CRITICAL POC
10.0 Oct 02

Loom for AWS deployments running a version before 1.6.1 with no identity provider configured expose an unauthenticated s

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

CVE-2020-37153 CRITICAL POC
9.8 Feb 11

Multiple vulnerabilities in ASTPP 4.0.1 including XSS and command injection in SIP device configuration and plugin manag

CVE-2026-87911 CRITICAL POC
9.0 Sep 09

Remote code execution in Amazon awslabs postgres-mcp-server before 1.1.7 lets remote actors run arbitrary OS commands on

CVE-2026-11393 HIGH POC
8.8 Jun 08

Remote code execution in AWS AgentCore CLI before v0.14.2 allows authenticated attackers to inject Python code via craft

CVE-2026-18140 HIGH POC
8.7 Jul 30

Denial of service in the aws-smithy-json Rust runtime crate (versions before 0.62.7) lets remote unauthenticated attacke

CVE-2026-16756 HIGH POC
8.7 Jul 23

Denial of service in Amazon's aws-smithy-http-server Rust crate (versions prior to 0.66.5) lets remote unauthenticated a

CVE-2026-16796 HIGH POC
8.4 Jul 23

Argument injection in the AWS Bedrock AgentCore Python SDK before 1.18.1 lets a remote authenticated user run arbitrary

CVE-2026-9133 HIGH POC
8.3 May 20

Arbitrary file read in amazon-mq rabbitmq-aws before 0.2.1 allows authenticated remote users to read any file accessible

CVE-2026-13763 HIGH POC
7.9 Jun 29

WAF managed-rule body inspection on AWS Application Load Balancer (ALB) can be bypassed by remote actors who fragment an

CVE-2026-13762 HIGH POC
7.9 Jun 29

WAF inspection bypass in Amazon CloudFront (with AWS WAF enabled) lets remote actors smuggle malicious request bodies pa

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy