Back to Intelligence

CVE-2026-104868: Autodesk AutoCAD DWG Integer Overflow — Detection, Containment and Patch Guide

SA
Security Arsenal Team
November 27, 2026
8 min read

ZDI-26-1148 discloses a remote code execution flaw in Autodesk AutoCAD triggered during DWG file parsing. Per ZDI, the issue is an integer overflow that can let an attacker execute arbitrary code when a target opens a malicious DWG file or visits a malicious page that hands AutoCAD attacker-controlled content. ZDI rates it CVSS 7.8 and assigns CVE-2026-104868. This is not a wormable network service bug: it is a high-impact client-side file-parser vulnerability. That matters because engineering, construction, manufacturing, and design teams routinely exchange DWG files with outside parties, often by email, managed file transfer, vendor portals, and project shares.

The immediate risk is a payload embedded in a drawing file that runs in the security context of the AutoCAD user. From there, the attacker’s likely next steps are theft of design data and credentials, persistence on an engineering workstation, and pivoting into file shares, PLM systems, build servers, or OT-adjacent design environments. Treat this as an urgent patch-and-hunt item until Autodesk confirms fixed builds and your fleet is updated.

Technical Analysis

  • Affected component: AutoCAD DWG file parsing path. The primary Windows process of interest is acad.exe; related Autodesk launcher, licensing, and update processes should be inventoried but are not the exploitation primitive described by ZDI.
  • CVE / CVSS: CVE-2026-104868, CVSS 7.8 as assigned by ZDI.
  • Exploitation requirements: user interaction. The victim must open a malicious file or visit a malicious page that causes AutoCAD to parse attacker-controlled DWG content. ZDI describes the code execution as unauthenticated in the sense that no valid AutoCAD/application credential is required to trigger the parser path once content is delivered.
  • Root cause: integer overflow in DWG parsing. For defenders, the practical implication is that malformed object counts, lengths, offsets, or table sizes inside a DWG can cause unsafe memory calculation and corruption during file load.
  • Delivery vectors to prioritize: inbound email attachments, web downloads, synced project folders, unmanaged vendor transfers, and recently modified DWG files with Mark-of-the-Web. DWG files should be treated like active content during triage even though they are not scripts.
  • Exploitation status: the source item does not state confirmed in-the-wild exploitation, public PoC, or CISA KEV inclusion. Do not assume silence equals safety. Monitor the ZDI advisory, Autodesk security advisories, and CISA KEV for changes.

Post-exploitation behavior to watch for is straightforward: acad.exe spawning command interpreters, script engines, unsigned installers, credential-theft tools, archive utilities, or making unexpected outbound connections shortly after a DWG is opened. In mature intrusions, the first child process may be a legitimate-looking LOLBin used for discovery or staging.

Detection & Response

The detections below focus on high-value behavioral pivots rather than attempting to signature the integer overflow itself. Tune process names to your installed AutoCAD generation, but keep the core logic: AutoCAD should parse drawings, not launch shells, script engines, or persistence tooling.

YAML
---
title: AutoCAD Process Spawning Command or Script Interpreter
id: 9c2f6d41-7b6a-4a9d-9f2f-cve2026104868a
status: experimental
description: Detects acad.exe spawning common post-exploitation child processes after potential malicious DWG parsing activity tied to CVE-2026-104868.
references:
  - http://www.zerodayinitiative.com/advisories/ZDI-26-1148/
  - https://attack.mitre.org/techniques/T1204/002/
  - https://attack.mitre.org/techniques/T1059/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.execution
  - attack.user_execution
  - attack.t1204.002
  - attack.t1059
logsource:
  category: process_creation
  product: windows
detection:
  selection_parent:
    ParentImage|endswith: '\acad.exe'
  selection_child:
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\wscript.exe'
      - '\cscript.exe'
      - '\mshta.exe'
      - '\rundll32.exe'
      - '\regsvr32.exe'
      - '\msiexec.exe'
      - '\curl.exe'
      - '\certutil.exe'
      - '\bitsadmin.exe'
  condition: selection_parent and selection_child
falsepositives:
  - Rare AutoCAD add-ins or deployment tooling that invoke installers
level: high
---
title: Suspicious DWG File Dropped With Mark-of-the-Web Before AutoCAD Launch
id: 4ab23b10-0e88-4d51-b7ac-cve2026104868b
status: experimental
description: Detects creation of DWG files in user-writable download/temp locations followed by AutoCAD execution, consistent with malicious drawing delivery for CVE-2026-104868.
references:
  - http://www.zerodayinitiative.com/advisories/ZDI-26-1148/
  - https://attack.mitre.org/techniques/T1566/001/
  - https://attack.mitre.org/techniques/T1204/002/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.initial_access
  - attack.user_execution
  - attack.t1566.001
  - attack.t1204.002
logsource:
  category: process_creation
  product: windows
detection:
  selection_acad:
    Image|endswith: '\acad.exe'
  selection_cli:
    CommandLine|contains:
      - '.dwg'
      - '\Downloads\'
      - '\Temp\'
      - '\AppData\Local\Temp\'
      - '\OneDrive\'
      - '\Dropbox\'
  condition: selection_acad and selection_cli
falsepositives:
  - Normal design work opening downloaded drawings
level: medium
---
title: AutoCAD Unexpected Outbound Network Connection
id: 78f26cd0-3ad1-4a2e-9db7-cve2026104868c
status: experimental
description: Detects network connections from acad.exe to non-corporate external addresses, a possible staging or C2 indicator after malicious DWG parsing.
references:
  - http://www.zerodayinitiative.com/advisories/ZDI-26-1148/
  - https://attack.mitre.org/techniques/T1071/
  - https://attack.mitre.org/techniques/T1105/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.command_and_control
  - attack.exfiltration
  - attack.t1071
  - attack.t1105
logsource:
  category: network_connection
  product: windows
detection:
  selection:
    Image|endswith: '\acad.exe'
    DestinationIsIpv6: 'false'
  filter_private:
    DestinationIp|startswith:
      - '10.'
      - '172.16.'
      - '172.17.'
      - '172.18.'
      - '172.19.'
      - '172.20.'
      - '172.21.'
      - '172.22.'
      - '172.23.'
      - '172.24.'
      - '172.25.'
      - '172.26.'
      - '172.27.'
      - '172.28.'
      - '172.29.'
      - '172.30.'
      - '172.31.'
      - '192.168.'
      - '127.'
  condition: selection and not filter_private
falsepositives:
  - Autodesk cloud licensing, update, collaboration, and telemetry endpoints; baseline approved Autodesk destinations before enabling at high severity
level: medium

Use the following hunt query in Microsoft Sentinel or Defender to find suspicious child processes and file-open patterns around AutoCAD. Run it across engineering and design endpoints first, then widen to all AutoCAD users.

KQL — Microsoft Sentinel / Defender
let lookback = 14d;
let acadChildren = dynamic(['cmd.exe','powershell.exe','pwsh.exe','wscript.exe','cscript.exe','mshta.exe','rundll32.exe','regsvr32.exe','msiexec.exe','curl.exe','certutil.exe','bitsadmin.exe','7z.exe','winrar.exe']);
DeviceProcessEvents
| where Timestamp >= ago(lookback)
| where InitiatingProcessFileName =~ 'acad.exe' or FileName =~ 'acad.exe'
| extend ParentIsAcad = InitiatingProcessFileName =~ 'acad.exe', Child = FileName
| where ParentIsAcad and Child in~ (acadChildren)
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, SHA256, FolderPath, ReportId
| join kind=leftouter (
    DeviceFileEvents
    | where Timestamp >= ago(lookback)
    | where FileName endswith '.dwg'
    | project DWGTime=Timestamp, DeviceName, DWGFolder=FolderPath, DWGFile=FileName, InitiatingProcessFileName, InitiatingProcessAccountName
) on DeviceName
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, FolderPath, SHA256, DWGTime, DWGFolder, DWGFile
| order by Timestamp desc

For endpoint forensics, use Velociraptor to sweep for AutoCAD-spawned processes and recently created DWG artifacts in high-risk locations. This is useful when EDR coverage is incomplete or you need a rapid fleet-wide check during patch validation.

VQL — Velociraptor
-- Hunt AutoCAD child processes and recent DWG artifacts in user-controlled paths
SELECT Pid, Name, Exe, CommandLine, Username, CreateTime
FROM pslist()
WHERE Name =~ '(?i)acad\.exe'
   OR CommandLine =~ '(?i)(cmd|powershell|pwsh|wscript|cscript|mshta|rundll32|regsvr32|msiexec|certutil|bitsadmin)\.exe'

SELECT FullPath, Name, Size, Mtime, Atime
FROM glob(globs=['C:/Users/*/Downloads/*.dwg','C:/Users/*/AppData/Local/Temp/*.dwg','C:/Users/*/OneDrive*/**/*.dwg'])
WHERE Mtime > now() - 1209600
ORDER BY Mtime DESC

Use this PowerShell to inventory installed AutoCAD-related products, report acad.exe versions, and apply conservative exploit mitigations to acad.exe while you wait for patch deployment. Test in a pilot ring; strict mitigations can break poorly built plug-ins.

PowerShell
# Inventory Autodesk products and acad.exe file versions
$paths = @(
  'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*',
  'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*'
)
Get-ItemProperty $paths -ErrorAction SilentlyContinue |
  Where-Object { $_.DisplayName -match 'AutoCAD|Autodesk' } |
  Select-Object DisplayName, DisplayVersion, Publisher, InstallDate |
  Sort-Object DisplayName

Get-ChildItem 'C:\Program Files\Autodesk','C:\Program Files (x86)\Autodesk' -Filter acad.exe -Recurse -ErrorAction SilentlyContinue |
  Select-Object FullName, @{n='FileVersion';e={$_.VersionInfo.FileVersion}}, @{n='ProductVersion';e={$_.VersionInfo.ProductVersion}}, LastWriteTime

# Apply exploit mitigations to discovered acad.exe instances. Pilot first.
$acad = Get-ChildItem 'C:\Program Files\Autodesk','C:\Program Files (x86)\Autodesk' -Filter acad.exe -Recurse -ErrorAction SilentlyContinue | Select-Object -ExpandProperty FullName -Unique
foreach ($exe in $acad) {
  Set-ProcessMitigation -Name $exe -Enable DEP,SEHOP,BottomUpASLR,HighEntropyASLR,StrictHandleChecks,BlockNonMicrosoftBinaries -ErrorAction Continue
}

# Flag DWG files carrying Mark-of-the-Web in high-risk folders for triage
Get-ChildItem "$env:USERPROFILE\Downloads","$env:TEMP" -Filter *.dwg -Recurse -ErrorAction SilentlyContinue |
  ForEach-Object {
    $zone = Get-Content -Path $_.FullName -Stream Zone.Identifier -ErrorAction SilentlyContinue
    [PSCustomObject]@{ File=$_.FullName; MOTW=($zone -join ';'); LastWriteTime=$_.LastWriteTime }
  }

Remediation

  1. Patch immediately through Autodesk Access/Autodesk Account or your enterprise deployment pipeline as soon as Autodesk publishes the fixed AutoCAD build for CVE-2026-104868. Do not rely on the ZDI summary for version math; confirm the exact affected and fixed versions in the official Autodesk advisory linked from ZDI-26-1148: http://www.zerodayinitiative.com/advisories/ZDI-26-1148/.
  2. If a fixed build is not yet deployed to all users, reduce exposure: block or sandbox inbound DWG attachments at email and web gateways for high-risk groups, require detonation or preview in an isolated viewer, and strip DWG from external email where business impact allows.
  3. Enforce Mark-of-the-Web handling and Protected View-style workflows where possible. Require users to right-click and unblocking only after source validation is not a control; instead, open external drawings in a disposable VM, AutoCAD web environment, or hardened jump host first.
  4. Constrain post-exploitation: ensure AutoCAD users are not local admins, disable legacy macro/add-in auto-loading from user-writable paths, require signed plug-ins where feasible, and use AppLocker/WDAC to prevent acad.exe from launching script engines and installers unless explicitly approved.
  5. Hunt retroactively for the last 14-30 days using the KQL/VQL above. Prioritize endpoints that received external DWG files, systems with access to project repositories, and users with privileged network or engineering-share access.
  6. Preserve evidence if you find suspicious acad.exe child processes: capture the DWG, Zone.Identifier alternate data stream, process tree, Prefetch/Amcache if available, EDR timeline, and network telemetry before rebuilding.
  7. Track closure in your vulnerability program: asset owner, installed AutoCAD version, fixed version, deployment date, exceptions, and validation scan. Set an aggressive internal SLA consistent with CVSS 7.8 client-side RCE and raise priority if CISA KEV or Autodesk confirms exploitation.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.