Description
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.
Published: 2026-07-15
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

TDengine is a time‑series database for Internet of Things devices. In versions prior to 3.4.1.15 an attacker who possesses the "create udf" privilege can upload a malicious shared library and register it as a user‑defined function, such as an eval function. The library is then executed on the TDengine server as part of normal database queries, allowing the attacker to run arbitrary C code on the host. This flaw is a classic example of code injection (CWE‑94) and grants the attacker full control over the server, compromising confidentiality, integrity, and availability of the system.

Affected Systems

The vulnerability affects all deployments of taosdata’s TDengine that are running any version older than 3.4.1.15. No other vendors or product lines are listed as impacted.

Risk and Exploitability

The CVSS base score of 7.2 indicates a high severity for remote attacks. The EPSS score of less than 1% suggests that, at present, the likelihood of this vulnerability being exploited in the wild is low, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is a remote database connection where the attacker has been granted the create udf privilege, enabling the upload and execution of a malicious library through ordinary query traffic. Although the exploitation requirements are specific, the resulting compromise would be full system takeover.

Generated by OpenCVE AI on July 31, 2026 at 03:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade TDengine to version 3.4.1.15 or later to apply the vendor patch that eliminates the ability to execute arbitrary code via UDFs.
  • Revoke the create udf privilege from all but the most trusted administrative accounts so that no unprivileged user can add or load new shared libraries.
  • Audit the database for any existing user‑defined functions and remove any that were installed through the vulnerability before applying the patch.

Generated by OpenCVE AI on July 31, 2026 at 03:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 18 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 01:15:00 +0000

Type Values Removed Values Added
First Time appeared Taosdata
Taosdata tdengine
Vendors & Products Taosdata
Taosdata tdengine

Wed, 15 Jul 2026 19:15:00 +0000

Type Values Removed Values Added
Description 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.
Title TDengine: UDF lead to RCE
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Taosdata Tdengine
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-18T01:18:49.611Z

Reserved: 2026-07-13T21:42:50.096Z

Link: CVE-2026-62350

cve-icon Vulnrichment

Updated: 2026-07-18T01:18:45.675Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:15:04Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')