Skip to main content

ThingLinks CVE-2026-62849

| EUVDEUVD-2026-114457 CRITICAL
SQL Injection (CWE-89)
2026-10-30 GitHub_M
9.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed /anyUser/tds/insertTableData endpoint
  2. Exploit
    Submit crafted JSON field values
  3. Execution
    Reach unsafe SQL in TDS mapper
  4. Impact
    Tamper or overwrite TDengine time-series data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

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

Exploitation Conditions

Exploitation requires that the ThingLinks TDS module (thinglinks-tds) be deployed and its /anyUser/tds/insertTableData endpoint be network-reachable, with a TDengine time-series backend in use so that attacker-controlled JSON field values flow into the TDengine mapper's SQL generation. Per the CVSS vector (PR:N/UI:N) and the /anyUser/ endpoint prefix, no authentication or user interaction is needed against affected versions below 1.4.0. The main limiting factors are version (fixed in 1.4.0) and exposure of the TDS insert-table-data surface to the attacker; impact is bounded to time-series data tampering and availability rather than reading of other data.

Impact

Multiple signals align toward genuine priority but with an important scope caveat. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated flaw, consistent with the /anyUser/ endpoint prefix and the vendor's 'unauthenticated' labeling in the GHSA advisory. The vuln.today decision label is act_now, reinforcing urgency. However, the impact is deliberately scoped: the CVSS shows C:N with I:H/A:H, meaning this is a data-tampering and availability issue (inserting/overwriting TDengine time-series readings), not confidentiality loss or code execution - the 9.1 score is driven entirely by integrity and availability, not data theft. No EPSS score was provided, so statistical exploitation probability cannot be weighed. KEV status is not indicated (not listed), so there is no evidence of active exploitation. The references include the fix commit and GHSA advisory but no working exploit code, so this is not a confirmed in-the-wild threat. Net: a real, remotely exploitable unauthenticated SQL injection worth prompt patching per the act_now label, but realistic blast radius is bounded by the niche deployment footprint of ThingLinks and by the integrity/availability-only impact rather than full database compromise.

Exploit ScenarioDerived

A remote unauthenticated attacker who can reach the ThingLinks TDS module sends a crafted JSON POST to /anyUser/tds/insertTableData whose field values are passed into unsafe SQL construction in the TDengine TDS mapper. By controlling those field values the attacker injects SQL that inserts unintended rows or overwrites existing time-series readings in TDengine. No public working exploit code was identified in the provided data; the referenced commit is the vendor fix, not an exploit. The AV:N/AC:L/PR:N/UI:N vector means no authentication, user interaction, or special timing is required.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 30, 2026

Unauthenticated SQL injection in ThingLinks (mqttsnet) versions prior to 1.4.0 lets remote attackers tamper with TDengine time-series data through the TDS module's /anyUser/tds/insertTableData endpoint, inserting unintended rows or overwriting existing readings. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:N/I:H/A:H, 9.1) reflects an unauthenticated, no-interaction attack whose impact is data integrity and availability rather than disclosure of other data. No public exploit code or CISA KEV entry was identified at the time of analysis, but vuln.today's priority decision is act_now, so exposure of the TDS insert surface should be treated as urgent for affected deployments; the primary caveat is scope, since exploitation requires the thinglinks-tds module to be deployed with a TDengine backend and reachable over the network.

RemediationAI

Vendor-released patch: upgrade to ThingLinks 1.4.0, which the advisory lists as the fixed version for maven/com.mqttsnet.thinglinks:thinglinks-tds (fixed in 1.4.0, vulnerable below 1.4.0); the fix also depends on the corrected com.mqttsnet.basic line based on thinglinks-parent 1.0.8.3, so rebuild against the released 1.4.0 artifacts rather than patching individual files. Release notes are at https://github.com/mqttsnet/thinglinks/releases/tag/v1.4.0, the advisory at https://github.com/mqttsnet/thinglinks/security/advisories/GHSA-gcj7-r5wv-348x, and the associated commit at https://github.com/mqttsnet/thinglinks/commit/60e7a934753638f916a665d2d24c4377344c7599. Where upgrading cannot be done immediately, reduce exposure by ensuring the /anyUser/tds/insertTableData path is not reachable from untrusted networks - terminate it behind an authenticating gateway or restrict it to known device/collector source addresses while keeping direct TDengine ingest paths open for legitimate telemetry; the trade-off is that any client legitimately posting to that unauthenticated endpoint must be re-routed or allowed explicitly, and this does not remove the underlying unsafe SQL construction in the TDS mapper. If the TDS insert-table-data flow is not in use, removing or disabling the thinglinks-tds module stops the exposure entirely but forfeits TDS-based ingestion and query features.

Affected VersionsENISA

thinglinks < 1.4.0

Affected Packages

euvd thinglinks fix: 1.4.0

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

ThingLinks is a Java/Spring Cloud enterprise IoT platform (maven com.mqttsnet.thinglinks:thinglinks-tds) that stores device telemetry in TDengine, a time-series database addressed through its TDS API layer. The flaw is CWE-89: request-controlled JSON field values posted to /anyUser/tds/insertTableData are passed into the TDS mapper, where SQL for the TDengine insert-table-data flow is built by string construction rather than parameter binding, so attacker-supplied values can alter the generated statement instead of being treated as literal data. The /anyUser/ prefix and the PR:N/UI:N vector components indicate the endpoint is reachable without authentication or user interaction in affected versions. The vendor advisory states the fix updates the affected code path and moves to the fixed com.mqttsnet.basic dependency line based on thinglinks-parent 1.0.8.3; the published commit (60e7a934) referenced alongside the advisory is a broad multi-file change and this source set does not isolate the individual SQL-construction hunk, so the precise code-level remediation is not verifiable from the supplied evidence alone.

Know when Thinglinks gets its next vulnerability

  • 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_M) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 9.1 CRITICAL

Unauthenticated /anyUser/ endpoint gives AV:N/PR:N/UI:N with AC:L; the insert-only tampering flow justifies C:N with I:H and A:H for overwritten readings.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Oct 30, 2026 - 22:03 EUVD
CVE Published
Oct 30, 2026 - 20:29 cve.org
CRITICAL 9.1

DescriptionCVE.org

ThingLinks is an enterprise IoT platform. Prior to 1.4.0, an unauthenticated SQL injection vulnerability in the TDengine TDS APIs allows request-controlled JSON field values submitted to /anyUser/tds/insertTableData to reach unsafe SQL construction in the TDS mapper. A remote unauthenticated attacker can tamper with TDengine time-series data, including inserting unintended rows or overwriting existing readings. The affected surface is the TDS module's insert-table-data flow and TDengine mapper SQL generation. This issue is fixed in version 1.4.0.

Technical POC Analysis

The bug class is CWE-89, Improper Neutralization of Special Elements used in an SQL Command.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical unauthenticated SQL injection vulnerability in ThingLinks (mqttsnet) versions prior to 1.4.0 enables remote attackers to tamper with TDengine time-series data, potentially corrupting or overwriting critical operational readings. Leadership should prioritize this issue for any deployments using the thinglinks-tds module with a network-accessible TDengine backend, as it directly impacts data integrity and availability without requiring authentication.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to the /anyUser/tds/insertTableData endpoint (e.g., via firewall rules, reverse proxy ACLs, or network segmentation), disabling the thinglinks-tds module if not essential, and monitoring for unauthorized data modifications. Apply vendor patch (upgrade to version 1.4.0) as soon as available.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
niche open-source IoT platform, limited enterprise deployment footprint
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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