Security Advisory

CVE-2023-4212: Trane Thermostat USB Command Injection

Last updated:
  • CVE-2023-4212

CVE-2023-4212 is a command injection in Trane XL824, XL850, XL1050 and Pivot thermostats. A USB stick with a specially crafted file name, plugged into the thermostat, makes it run commands as root. NVD and CISA score it 6.8 because physical access is needed. Trane pushed fixed firmware that installs automatically once the thermostat is connected to the internet.

Vulnerability summary

CVSS base score

6.8

Medium severity

EPSS score (FIRST)

2.4%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2023-4212 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Affected components

ComponentCPEVersion range
Trane XL824, XL850 and XL1050 thermostatscpe:2.3:o:trane:xl824_firmware:*:*:*:*:*:*:*:*Firmware 5.9.8 and prior (CISA ICSA-23-234-02, CVE record, NVD); fixed firmware later than 5.9.8 is pushed automatically to connected devices
Trane Pivot thermostatcpe:2.3:o:trane:pivot_firmware:*:*:*:*:*:*:*:*Firmware 1.8 and prior (CISA ICSA-23-234-02, CVE record, NVD); fixed firmware later than 1.8 is pushed automatically to connected devices

What does this mean for affected devices?

The CVE record from CISA says: "A command injection vulnerability exists in Trane XL824, XL850, XL1050, and Pivot thermostats allowing an attacker to execute arbitrary commands as root using a specially crafted filename. The vulnerability requires physical access to the device via a USB stick." NVD's Primary score and CISA's score are both 6.8, CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. NVD maps it to CWE-77, command injection; CISA uses the broader CWE-74, injection. NVD published the record on 2023-08-22 and its configuration covers XL824, XL850 and XL1050 firmware up to and including 5.9.8 and Pivot firmware up to and including 1.8 (NVD, CVE record).

Which Trane thermostats are affected?

CISA's ICSA-23-234-02, released on 2023-08-22, lists the Trane Technologies XL824, XL850 and XL1050 thermostats on firmware 5.9.8 and prior and the Pivot thermostat on 1.8 and prior. These are building HVAC controls; CISA tags the sector as Critical Manufacturing, deployed worldwide, with Trane Technologies headquartered in Ireland. Houlton McGuinn reported the flaw to Trane. The 6.8 score is moderate only because of the USB requirement: the result is root on the thermostat, and its USB port is open to anyone who can stand in front of the wall unit.

How do you fix CVE-2023-4212?

CISA records that Trane "has pushed the patch out to all devices": as soon as an affected thermostat is connected to the internet it checks for new firmware, downloads it and installs it with no user action. To check:

  • open Menu > System Info > About on the thermostat and confirm the firmware is newer than 5.9.8 (XL824, XL850, XL1050) or 1.8 (Pivot);
  • connect offline units long enough to update, or ask your local Trane sales office how to update them;
  • in public areas, use a locking cover or a mounting that blocks the USB port.

Trane also published a service database article (DOC-216377) on its partner hub, which needs a login. Other building automation flaws on this site include CVE-2017-9946 (Siemens APOGEE PXC authentication bypass) and CVE-2016-4495 (KMC BAC-5051E). The command injection fix guide explains why file names from removable media must never reach a shell, and the BACnet protocol security guide covers the wider building network.

Is CVE-2023-4212 exploited?

CVE-2023-4212 is not in the CISA KEV catalog as of 2026-11-27 (catalog version 2026.11.25, 1,805 entries). FIRST EPSS gives it 0.02446, the 85.06th percentile, in the 2026-11-26 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.
How to fix this class of issueThis advisory's weakness class is Command injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix command injection in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

Evidence

  • NVD (read 2026-11-27): status Modified; published 2023-08-22; NVD Primary CVSS v3.1 6.8 AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, ICS-CERT Secondary 6.8; NVD CWE-77, ICS-CERT CWE-74; CPEs trane xl824/xl850/xl1050_firmware up to and including 5.9.8, pivot_firmware up to and including 1.8. — NVD
  • CISA ICSA-23-234-02 CSAF (released 2023-08-22, read 2026-11-27): XL824, XL850, XL1050 <= 5.9.8, Pivot <= 1.8; CVE-2023-4212 CWE-74 CVSS v3.0 6.8; Trane pushed the patch to all devices, installs automatically when connected to the internet; verify via Menu > System Info > About; local Trane sales office; service database article DOC-216377 (login required); Critical Manufacturing, worldwide, HQ Ireland; credit Houlton McGuinn (reported to Trane). — CISA ICSA-23-234-02
  • CVE record (checked 2026-11-27): PUBLISHED, CNA ICS-CERT, published 2023-08-22; title 'Trane Thermostats Injection', CNA CVSS v3.1 6.8, CWE-74; affected XL824/XL850/XL1050 <= 5.9.8, Pivot <= 1.8; solution: automatic patch push. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.25, 1,805 entries, checked 2026-11-27. — CISA KEV
  • EPSS 0.02446, percentile 0.85063, dataset 2026-11-26, read 2026-11-27. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-23-234-02: Trane Thermostats (CSAF)
  3. CISA ICSA-23-234-02 advisory page
  4. CVE.org record CVE-2023-4212
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which Trane thermostats are affected by CVE-2023-4212?

XL824, XL850 and XL1050 thermostats on firmware 5.9.8 and prior and Pivot thermostats on 1.8 and prior, per CISA ICSA-23-234-02, the CVE record and NVD.

How do I get the fix for CVE-2023-4212?

Connect the thermostat to the internet: Trane pushed the patch to all devices, and it downloads and installs automatically. Confirm under Menu > System Info > About that the firmware is newer than 5.9.8 (XL models) or 1.8 (Pivot).

Can CVE-2023-4212 be exploited remotely?

No. CISA and NVD state it requires physical access to the thermostat through a USB stick, which is why the CVSS score is 6.8 despite root-level command execution.

Is CVE-2023-4212 in the CISA KEV catalog?

No, not as of 2026-11-27 (catalog version 2026.11.25). FIRST EPSS rates it 0.02446, the 85.06th percentile, in the 2026-11-26 dataset.