{"id":"CVE-2026-62849","published":"2026-10-30T21:17:14.120","lastModified":"2026-10-30T23:17:13.043","description":"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.","cvssScore":9.1,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","cwes":["CWE-89"],"vendors":[],"products":[],"references":[{"url":"https://github.com/mqttsnet/thinglinks/commit/60e7a934753638f916a665d2d24c4377344c7599","tags":[]},{"url":"https://github.com/mqttsnet/thinglinks/releases/tag/v1.4.0","tags":[]},{"url":"https://github.com/mqttsnet/thinglinks/security/advisories/GHSA-gcj7-r5wv-348x","tags":[]}],"exploitRefs":[{"url":"https://github.com/mqttsnet/thinglinks/commit/60e7a934753638f916a665d2d24c4377344c7599","tags":[]},{"url":"https://github.com/mqttsnet/thinglinks/releases/tag/v1.4.0","tags":[]},{"url":"https://github.com/mqttsnet/thinglinks/security/advisories/GHSA-gcj7-r5wv-348x","tags":[]}],"hasPoc":true,"ai":{"summary":"ThingLinks IoT platform versions prior to 1.4.0 contain an unauthenticated SQL injection (CWE-89) in the TDengine TDS API endpoint `/anyUser/tds/insertTableData`, where unsanitized JSON field values are used to construct unsafe SQL queries, enabling attackers to tamper with time-series data.","exploitability":"Exploitation is trivial for unauthenticated remote attackers as no authentication or user interaction is required and the vulnerable endpoint accepts arbitrary JSON input.","blast_radius":"Successful exploitation allows full compromise of TDengine time-series data integrity, including unauthorized insertion or overwriting of sensor readings, potentially disrupting IoT monitoring and control systems.","remediation":"Upgrade ThingLinks to version 1.4.0 or later, which contains the official fix for this vulnerability.","detection":"Defenders should monitor for anomalous POST requests to `/anyUser/tds/insertTableData` containing malformed or unexpected JSON structures, especially those with SQL metacharacters (e.g., single quotes, semicolons, `UNION`, `--`) in field values, and correlate with TDengine logs showing unexpected data insertions or overwrites.","tags":["sql-injection","iot","tdengine","unauthenticated","data-tampering"],"model":"garnet-coder","analyzedAt":"2026-10-31T08:50:16.033Z"}}