TDengine is an open source, time-series database optimized for Internet of Things devices. Prior to 3.4.1.15, a user with create udf privilege could upload a crafted shared library and install it as a user-defined function, such as eval, then execute arbitrary C code on the TDengine server side through database queries. This issue is fixed in version 3.4.1.15.
Security readout for executives and security teams
Plain-English summary
TDengine versions before 3.4.1.15 allow a highly privileged database user to turn UDF creation into server-side code execution. This is serious because a database permission can become control of the TDengine server process, affecting confidentiality, integrity, and availability.
Executive priority
Treat as a high-priority patch and privilege review for TDengine environments. The privilege requirement lowers broad internet risk, but the server-side impact is severe if an administrator account or service credential is misused.
Technical view
The issue is CWE-94 in TDengine UDF handling. A user with create udf privilege could upload a crafted shared library, register it as a user-defined function, and trigger arbitrary C code execution through queries. CVSS 3.1 is 7.2: network reachable, low complexity, high privileges required, no user interaction.
Likely exposure
Organizations running TDengine before 3.4.1.15 are exposed if users, service accounts, or compromised credentials have create udf privilege. Risk is highest where TDengine is reachable from internal networks and database roles are broad or poorly audited.
Exploitation context
The provided bundle does not show CISA KEV listing or active exploitation. Exploitation requires high database privileges, but successful abuse can execute code on the TDengine server side with high impact.
Researcher notes
Evidence is limited to the CVE record and vendor advisory in the bundle. No public exploit status is cited here. Focus validation on version, UDF privilege assignments, UDF inventory, and whether TDengine is reachable by users or services beyond trusted administrators.
Mitigation direction
Upgrade TDengine to version 3.4.1.15 or later.
Review vendor advisory for any additional hardening guidance.
Restrict create udf privilege to explicitly trusted administrators.
Remove unnecessary UDF permissions from service accounts.
Audit existing UDFs and shared libraries for unexpected entries.
Validation and detection
Inventory all TDengine deployments and record exact versions.
Confirm no instance remains below 3.4.1.15.
List accounts or roles with create udf privilege.
Review TDengine UDF registrations for unauthorized functions.
Check database and host logs for suspicious UDF activity.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-94: Code execution behavior lookup
Code execution and unsafe deserialization weaknesses often justify reviewing execution behavior and process telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-94 · source CWE mapping
Improper Control of Generation of Code ('Code Injection')
Improper Control of Generation of Code ('Code Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.