# CVE-2026-129713: Unpatched Critical Stack-Based Buffer Overflow in Danfoss AK-SM 800A Series Refrigeration Controllers

> CISA advisory ICSA-26-328-03 (2026-11-24) reports an unauthenticated stack-based buffer overflow (CVSS 9.8) in a CGI handler of Danfoss AK-SM 8xxA refrigeration controllers (<=5.4.0), allowing a web server restart and potentially code execution with web server privileges. No patch exists; Danfoss plans a fix in version 5.5.x. Supplier Sabcobel reportedly said the November European supermarket attacks used the same vulnerability as the October French attacks, but CISA reports no known public exploitation of this specific CVE.

- **Published:** 2026-11-25T16:34:50Z
- **Last reviewed:** 2026-11-25T16:34:50Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-6871
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-6871.png
- **ID:** TL-2026-6871
- **Severity:** CRITICAL (CVSS 9.8)
- **Category:** VULNERABILITY
- **Status:** ACTIVE
- **Detections:** 9 (1 shown free below) · **IOCs:** 8
- **CVEs:** CVE-2026-129713

## Description

CVE-2026-129713 is a stack-based buffer overflow (CWE-121) in an unauthenticated CGI handler of the Danfoss AK-SM 8xxA Series (AK-SM 820A, 850A, 880A) controller. A remote attacker can send specially crafted HTTP/S POST requests to cause memory corruption and a web server restart, and hypothetically arbitrary code execution with web server privileges. No authentication or user interaction is required. CISA scores it CVSS v3.1 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and CVSS v4.0 9.3. CISA lists all versions up to and including 5.4.0 as known affected. Carlo Meijer of Midnight Blue reported the issue to CISA. Danfoss published advisory DSA-2026-12-01 on 2026-11-20 stating the issue will be addressed in software version 5.5.x, which will also remove the option to disable Strict Mode. No patch or release date is available.

The AK-SM 8xxA units are central controllers for supermarket and convenience-store refrigeration. They manage display cases and compressor racks, log temperatures and raise alarms, and depending on the model can also control store lighting and HVAC. CISA lists the deployment as worldwide (Commercial Facilities sector, vendor headquartered in Denmark) and says the number of deployed units is unclear. Secondary reporting on Midnight Blue's research (Daily CyberSecurity, 2026-11-18) says the main application runs as root and lacks stack canaries and PIE, that the root cause is hundreds of unchecked strcpy calls in unauthenticated handlers, that six pre-authentication stack overflows were found in firmware up to 5.3.2, and that the Strict Mode enforcement component is itself vulnerable, so Strict Mode alone is not a sufficient mitigation. Midnight Blue withheld endpoints and exploit code, and no public PoC is known. That reporting says no CVE IDs had been assigned at that time and does not map the six flaws to CVE-2026-129713, so the exact relationship between them is not confirmed in the sources reviewed. Controllers lack secure boot, so a firmware implant could reportedly survive a factory reset.

Context of in-the-wild activity: overnight on 2026-10-11/12, French supermarkets and food retailers were hit by attacks that compromised Danfoss AK-SM/AK-SC and Copeland/Dixell XWEB refrigeration controllers and remotely altered defrost settings; France's Cyber Crisis Coordination Center attributed those October attacks to Shahid Kaveh, a cyber unit affiliated with Iran's IRGC (French MFA statement, 2026-11-09). France attributed only the October attacks. On 2026-11-02 at least 115 stores in Belgium, the Netherlands, Sweden, Luxembourg, Ireland, Romania and Estonia had refrigeration shut down or settings changed, as did refrigeration at three blood-storage facilities of the French national blood service. BleepingComputer reports that supplier Sabcobel said attackers used the same vulnerability as in the October France attacks. That is a supplier statement relayed by the press. It is not confirmed by CISA or Danfoss, and no source reviewed attributes CVE-2026-129713 or the November attacks to a named actor. Earlier, already-patched Danfoss AK-SM 8xxA flaws (CVE-2025-41450 authentication bypass via a date-derived 'code of the day', CVE-2025-41451 post-auth command injection, CVE-2025-41452 Nginx config injection; fixed in R4.3.1 per Claroty Team82, 2026-08-09) are separate issues; Midnight Blue says public exploits for older flaws appeared within 48 hours of the French attacks.

Defender guidance: do not expose controllers to the internet or assign public IPs; restrict remote access to a patched VPN or private APN with strict firewall allowlisting; segregate from business networks; run Strict Mode (though not sufficient on its own); use strong unique passwords; inventory all internet-exposed controllers, including those behind integrator 4G modems; monitor unauthenticated HTTP/S POST requests to CGI endpoints and web server process restarts or crashes.

## MITRE ATT&CK

- T1595 Active Scanning
- T1190 Exploit Public-Facing Application
- T1499.004 Application or System Exploitation
- T1565.001 Stored Data Manipulation
- T0814 Denial of Service

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**Danfoss AK-SM sm_app / Task_Web / sm_fcgi_app Crash or Restart (Overflow Attempt)** (`TL-2026-6871-SPL-002`)

Detects repeated crashes, restarts or terminations of the AK-SM web stack processes (sm_app, Task_Web, sm_fcgi_app). CISA states a successful trigger of CVE-2026-129713 causes a web server restart, so clustered restarts are a high-value indicator of failed or successful memory-corruption attempts and denial of service. Maps to T1499.004 and T0814.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1499.004, T0814
- **Data sources:** syslog (index=os), Syslog table (Microsoft Sentinel), linux syslog forwarded from controller or gateway
- **Severity:** high
- **Confidence:** medium

### Splunk SPL

```spl
index=os sourcetype=syslog (sm_app OR Task_Web OR sm_fcgi_app) (segfault OR SIGSEGV OR "core dumped" OR respawn OR restarting OR terminated OR exited) earliest=-24h
| eval crashed_process=case(match(_raw, "sm_fcgi_app"), "sm_fcgi_app", match(_raw, "Task_Web"), "Task_Web", true(), "sm_app")
| bin _time span=15m
| stats count AS events values(crashed_process) AS processes min(_time) AS first_seen BY host _time
| where events>=2
| table _time host processes events
```

### Microsoft KQL

```kql
Syslog
| where TimeGenerated > ago(24h)
| where SyslogMessage has_any ('sm_app', 'Task_Web', 'sm_fcgi_app')
| where SyslogMessage has_any ('segfault', 'SIGSEGV', 'core dumped', 'respawn', 'restarting', 'terminated', 'exited')
| summarize Events=count(), Samples=make_set(SyslogMessage, 3), FirstSeen=min(TimeGenerated) by Computer, bin(TimeGenerated, 15m)
| where Events >= 2
| project TimeGenerated, Computer, Events, FirstSeen, Samples
```

### Sigma

```yaml
title: Danfoss AK-SM Web Stack Process Crash or Restart
id: 7a2e9c14-5b3d-4f88-a1e6-2d9c4b8e7f02
status: experimental
description: Detects crash or restart messages for the Danfoss AK-SM processes sm_app, Task_Web and sm_fcgi_app, which CISA identifies as the observable effect of triggering CVE-2026-129713 (web server restart).
references:
  - https://www.cisa.gov/news-events/ics-advisories/icsa-26-328-03
  - https://claroty.com/team82/research/freeze-the-controller-defrost-the-food-uncovering-vulnerabilities-in-danfoss-refrigeration-controllers
author: Threadlinqs Team
date: 2026-11-25
tags:
  - attack.impact
  - attack.t1499.004
  - attack.t0814
  - cve.2026.129713
logsource:
  product: linux
  service: syslog
detection:
  keywords_process:
    - 'sm_app'
    - 'Task_Web'
    - 'sm_fcgi_app'
  keywords_crash:
    - 'segfault'
    - 'SIGSEGV'
    - 'core dumped'
    - 'respawn'
    - 'restarting'
    - 'terminated'
  condition: keywords_process and keywords_crash
falsepositives:
  - Planned firmware updates, reboots or service restarts by an integrator
  - Power loss or hardware faults on the controller
level: high
```

**Known false positives:**

- Planned maintenance, firmware upgrades or scheduled reboots of the controller
- Hardware, power or flash-storage faults causing process respawns

**Tuning notes:** Requires controller or gateway syslog forwarding; confirm the log format actually names sm_app, Task_Web or sm_fcgi_app. Raise the events threshold above 2 if the fleet restarts frequently, and suppress during approved maintenance windows. Correlate with oversized CGI POSTs from SPL-001 in the preceding minutes.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Repeated Failed POSTs to Danfoss CGI Handler (Overflow Offset Probing / Crash Loop) (locked: unlock with TL Creds)
- Shell or Download Utility Spawned by Danfoss AK-SM Web Process (Post-Exploitation) (locked: unlock with TL Creds)
- Inbound Internet Access to Danfoss Controller Subnet on Web Ports (locked: unlock with TL Creds)
- Danfoss AK-SM load_nginx_headers Request or [indicator] Tampering (locked: unlock with TL Creds)
- Coordinated Remote Defrost or Setpoint Changes Across Refrigeration Controllers (locked: unlock with TL Creds)
- Danfoss Controller Subnet Initiating Outbound Internet Connections on Unusual Ports (locked: unlock with TL Creds)
- Danfoss AK-SM 8xxA Oversized Unauthenticated CGI POST (CVE-2026-129713 Exploitation) (locked: unlock with TL Creds)
- Mass Scanning of Internet-Exposed Danfoss Controller Web Interfaces (FOFA/Censys Style) (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [CISA ICS Advisory ICSA-26-328-03: Danfoss AK-SM 8xxA Series](https://www.cisa.gov/news-events/ics-advisories/icsa-26-328-03)
- [CISA warns of critical unpatched flaw in Danfoss refrigeration controllers (BleepingComputer)](https://www.bleepingcomputer.com/news/security/cisa-warns-of-critical-unpatched-flaw-in-danfoss-refrigeration-controllers/)
- [Danfoss Security Advisory DSA-2026-12-01](https://www.danfoss.com/en/service-and-support/coordinated-vulnerability-disclosure/danfoss-security-advisories/dsa-2026-12-01)
- [Danfoss AK-SM 800A security guidance and downloads](https://www.danfoss.com/en/service-and-support/downloads/dcs/adap-kool-software/ak-sm-800a/#tab-overview)
- [CISA CSAF file for ICSA-26-328-03](https://github.com/cisagov/CSAF/blob/develop/csaf_files/OT/white/2026/icsa-26-328-03.json)
- [Danfoss AK-SM800A pre-auth RCE (Daily CyberSecurity, summarizing Midnight Blue research)](https://securityonline.info/danfoss-ak-sm800a-pre-auth-rce/)
- [Midnight Blue: Multiple RCE in Danfoss AK-SM800A](https://www.midnightblue.nl/blog/multiple-rce-danfoss-aksm800a)
- [France blames Iranian hackers for supermarket attacks that sparked fires (BleepingComputer)](https://www.bleepingcomputer.com/news/security/france-blames-iranian-hackers-for-supermarket-attacks-that-sparked-fires/)
- [CERT-FR CTI report CERTFR-2026-CTI-009](http://cert.cyber.gouv.fr/cti/CERTFR-2026-CTI-009/)
- [French MFA: statement attributing cyberattacks on France to Iran](http://www.diplomatie.gouv.fr/fr/presse-et-ressources/decouvrir-et-informer/actualites/declaration-d-attribution-a-l-iran-de-cyber-attaques-visant-la-france)
- [Cyberattack shuts down refrigerators at French supermarkets (BleepingComputer)](https://www.bleepingcomputer.com/news/security/cyberattack-shuts-down-refrigerators-at-french-supermarkets/)
- [Freeze the Controller, Defrost the Food: Danfoss refrigeration controller vulnerabilities (Claroty Team82)](https://claroty.com/team82/research/freeze-the-controller-defrost-the-food-uncovering-vulnerabilities-in-danfoss-refrigeration-controllers)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-6871
