CVE-2026-62350

TDengine: UDF lead to RCE

Published Jul 15, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Taosdata
Taosdata tdengine
Vendors & Products Taosdata
Taosdata tdengine
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'}

Weaknesses
  • CWE-94

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 18, 2026, 1:18 AM
Reserved
Jul 13, 2026, 9:42 PM
Status
Deferred
Published
Jul 15, 2026, 7:18 PM
Modified
Oct 24, 2026, 9:10 PM