Skip to main content
CVE-2025-9094VulnerabilityPublished

CVE-2025-9094: ThingsBoard · Improper Neutralization of Special Elements Used in a Template Engine

Affects ThingsBoardSource CVE Database V5

0

Not known to be exploited · CVSS 5.3 Medium · fixed in 4.2 : update ThingsBoard when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 23% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
ThingsBoardAffected
  • =4.1
Fixed in–

AI-suggested

European organizations using ThingsBoard 4.1 should prioritize upgrading to version 4.2 or later once the patch is released, as this will include the official fix for CVE-2025-9094. Until then, organizations should implement compensating controls such as: 1) Restricting network access to ThingsBoard management interfaces by enforcing strict firewall rules and VPN-only access to reduce exposure to remote attackers. 2) Applying input validation and sanitization at the gateway or proxy level to filter out suspicious template elements or special characters before they reach the vulnerable component. 3) Monitoring and logging template engine usage and gateway handler activities to detect anomalous input patterns indicative of exploitation attempts. 4) Conducting internal code reviews or temporary patches if feasible, to neutralize special elements in templates manually. 5) Segmenting IoT networks to isolate ThingsBoard instances from critical operational technology (OT) systems, limiting potential lateral movement. 6) Educating administrators on the vulnerability and encouraging prompt application of vendor updates. These targeted mitigations go beyond generic advice by focusing on network-level protections, proactive monitoring, and interim input filtering to reduce attack surface until the official patch is deployed.

Description

A vulnerability was detected in ThingsBoard 4.1. This vulnerability affects unknown code of the component Add Gateway Handler. The manipulation leads to improper neutralization of special elements used in a template engine. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The vendor replies, that "[t]he fix will come within upcoming release (v4.2) and will be inherited by maintenance releases of LTS versions (starting 4.0)."

References

Community reviews

Loading reviews…