Skip to main content

TDengine CVE-2026-62350

| EUVDEUVD-2026-44766 HIGH
Code Injection (CWE-94)
2026-07-15 security-advisories@github.com
7.2
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with 'create udf' privilege
  2. Delivery
    Upload crafted C shared library
  3. Exploit
    Register library as UDF 'eval'
  4. Execution
    Invoke function via SQL query
  5. Impact
    Execute arbitrary native code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated TDengine account that holds the 'create udf' privilege - this is the exact, concrete prerequisite named in the advisory. The attacker must be able to upload a crafted shared library, register it as a UDF (e.g. 'eval'), and then issue a database query that calls it. Limiting factors: the 'create udf' privilege is a high-level capability (reflected as PR:H in CVSS) normally reserved for administrators, so environments that do not delegate UDF creation to untrusted users are not realistically exposable; there is no unauthenticated path and no pre-auth exposure. The vulnerability is most dangerous in multi-tenant or shared-cluster deployments where UDF creation rights are handed to less-trusted principals. This is not a default-configuration unauthenticated RCE.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, base 7.2 High) is internally consistent with the description: the attack is delivered over the network via SQL queries (AV:N), is low-complexity (AC:L), requires no user interaction (UI:N), yields full C/I/A impact, but demands a high-privilege account holding 'create udf' (PR:H). PR:H is the dominant mitigating factor - this is a privilege-escalation/trust-boundary weakness for an already-trusted database principal, not an unauthenticated pre-auth RCE, so mass, indiscriminate exploitation is unlikely. No EPSS score, KEV entry, SSVC decision, or POC signal was provided, so exploitation-probability signals are absent rather than low; the realistic risk is elevated in multi-tenant or shared TDengine deployments where UDF creation is delegated to less-trusted users, and lower where only administrators can create UDFs. No conflicting signals were detected in the input; the main gap is the absence of EPSS/KEV/POC data to gauge real-world exploitation likelihood.

Exploit ScenarioDerived

An attacker who has obtained (or been legitimately granted) a TDengine account with the 'create udf' privilege compiles a malicious C shared library containing arbitrary payload code, uploads it, and registers it as a user-defined function such as 'eval'. They then run a normal SQL query that invokes the function, causing their native code to execute inside the TDengine server process with that process's privileges. No POC was referenced in the provided intelligence, and the network attack vector with low complexity means exploitation is straightforward once the required privilege is held.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Server-side arbitrary code execution in TDengine time-series database (versions prior to 3.4.1.15) allows a database user holding the 'create udf' privilege to upload a malicious shared library, register it as a user-defined function (e.g. named 'eval'), and execute attacker-controlled native C code on the server by invoking that function through ordinary SQL queries. This is a privileged-user code injection issue (CWE-94) with high confidentiality, integrity, and availability impact; no public exploit identified at time of analysis and it is not listed in CISA KEV. The flaw is fixed in version 3.4.1.15.

RemediationAI

Upgrade to TDengine 3.4.1.15 or later, which remediates the issue - Vendor-released patch: 3.4.1.15 (per GHSA-f7wh-p233-87xv, https://github.com/taosdata/TDengine/security/advisories/GHSA-f7wh-p233-87xv). Until the upgrade is applied, restrict who holds the 'create udf' privilege to a minimal set of fully trusted administrators and revoke it from application/service and multi-tenant accounts, since that privilege is the sole precondition for exploitation; audit existing UDFs (for example any named 'eval' or other unexpected native functions) and remove untrusted ones. Where UDF functionality is not required, disable or block UDF creation entirely - the trade-off is loss of custom-function capability for legitimate workloads. Additionally, run the TDengine server process under a least-privilege OS account and constrain it with filesystem/network controls so that in-process native code execution has reduced blast radius; this does not prevent the code injection itself but limits post-exploitation impact.

Affected VersionsENISA

TDengine < 3.4.1.15

Affected Packages

euvd tdengine fix: 3.4.1.15

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

TDengine is an open-source time-series database purpose-built for IoT/IIoT telemetry ingestion and analytics. Like many SQL databases, it supports user-defined functions (UDFs) that can be implemented as native compiled code (C shared libraries) loaded into the server process for performance. The root cause is CWE-94 (Improper Control of Generation of Code / Code Injection): the UDF loading mechanism trusts the uploaded shared library and executes its code in the context of the TDengine server without a safe sandbox, so the 'create udf' capability effectively grants native code execution rather than merely defining a sandboxed function. Because the malicious library runs in-process (S:U - no privilege boundary is crossed into another security scope), the attacker's C code inherits the privileges of the TDengine server process. No CPE strings were supplied in the intelligence; affected components are inferred from the vendor GitHub Security Advisory (GHSA-f7wh-p233-87xv) and the description alone.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Exploited over the network via SQL but requires the high-level 'create udf' privilege (PR:H); native in-process code execution yields full C/I/A impact with no scope change (S:U).

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 21:18 EUVD
CVE Published
Jul 15, 2026 - 19:18 cve.org
HIGH 7.2

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A vulnerability in TDengine time-series database versions prior to 3.4.1.15 allows authorized database users to execute arbitrary code on production systems, potentially compromising the confidentiality, integrity, and availability of business-critical time-series data. This poses a significant risk to organizations whose database users may be compromised or whose user base includes unvetted administrators. Patched versions are available and should be prioritized for deployment.

Business Impact: High
Compensating Controls

Vendor-released patch: version 3.4.1.15. Until patched versions are deployed, restrict the 'create udf' database privilege to only trusted administrative roles, implement continuous monitoring for UDF-related database operations, and enforce network segmentation to limit database access to essential applications only.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Low
niche open-source IoT time-series database, limited broad enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy