CVE-2025-34282: ThingsBoard SSRF in Image Upload Gallery

CVE-2025-34282 · Severity: critical · CVSS 9.1 · Published 2025-10-17

ThingsBoard, an open-source IoT platform used for device management and data visualization, contains a security flaw in its image upload feature. An attacker can upload a specially crafted image file that forces the server to make unauthorized requests to internal systems or external websites. This could allow an attacker to bypass network security controls, access sensitive internal data, or probe private infrastructure.

Technologies: ThingsBoard. Vendors: ThingsBoard.

Quick answers

Is CVE-2025-34282 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-34282 being exploited in the wild.
How severe is CVE-2025-34282?
Critical severity, with a CVSS score of 9.1, published 17 October 2025.
Which products and versions are affected?
ThingsBoard, Inc. ThingsBoard < 4.2.1.
Is there a fix for CVE-2025-34282?
A patch was published on 2025-08-27: Initial patch submitted via pull request Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-34282 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2025-34282?
Check whether you run ThingsBoard. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A Server-Side Request Forgery (SSRF) vulnerability exists in ThingsBoard versions prior to 4.2.1 within the dashboard's Image Upload Gallery feature. The vulnerability is rooted in the improper handling of SVG files; an attacker can upload a malicious SVG containing external references that the server-side parser attempts to resolve. This allows an unauthenticated or low-privileged attacker to initiate outbound network requests from the server's context. This can be leveraged to access internal metadata services, scan internal networks, or interact with other internal resources not exposed to the public internet. The issue was addressed in version 4.2.1 by implementing a Content-Security-Policy (CSP) header and improving image processing.

Affected products

  • ThingsBoard, Inc. ThingsBoard < 4.2.1

Timeline

  • 2025-08-27: patched: Initial patch submitted via pull request
  • 2025-10-15: patched: Version 4.2.1 released
  • 2025-10-17: advisory: CVE-2025-34282 published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.