# CVE-2026-9568: ThingsBoard code injection in YAML Handler provisioning API

Source: https://junglewise.ai/threats/cve-2026-9568-thingsboard-code-injection-in-yaml-handler-provisioning-api  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-26. Updated: 2026-05-26  
License: CC BY 4.0 with a link back

CVE-2026-9568 · Severity: medium · CVSS 5 · Published 2026-05-26

ThingsBoard, an open-source IoT platform used for device management and data collection, contains a vulnerability in its provisioning API. An attacker could potentially inject malicious code into the system by manipulating how the platform generates configuration files for gateway devices. If successfully exploited, this could allow an attacker to interfere with device operations or gain unauthorized access to the platform's data processing environment.

Technologies: [ThingsBoard](https://junglewise.ai/threats/technologies/thingsboard). Vendors: [ThingsBoard](https://junglewise.ai/threats/vendors/thingsboard).

## Quick answers

**Is CVE-2026-9568 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-9568 being exploited in the wild.

**How severe is CVE-2026-9568?** Medium severity, with a CVSS score of 5, published 26 May 2026.

**Which products and versions are affected?** ThingsBoard up to 4.3.1.1.

**Is there a fix for CVE-2026-9568?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-9568 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-9568?** Check whether you run ThingsBoard at an affected version. 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 code injection vulnerability exists in ThingsBoard versions up to 4.3.1.1 within the YAML Handler component. The flaw is located in the 'getGatewayDockerComposeFile' function of the '/api/v1/provision' endpoint. The root cause is improper neutralization of special elements (CWE-74) and improper control of code generation (CWE-94) when processing device credentials for YAML output. A remote attacker can exploit this by providing crafted input that manipulates the resulting Docker Compose file. While the attack can be initiated remotely, it is rated with high complexity and requires user interaction (UI:R) according to the CVSS vector. A pull request (#15550) has been proposed to sanitize YAML sink lines and enhance credential validation, but it has not yet been officially merged into a release.

## Affected products

- ThingsBoard ThingsBoard up to 4.3.1.1

## Timeline

- 2026-04-30: other: Pull request with fix submitted to GitHub
- 2026-05-26: disclosed: Vulnerability published via VulDB/NVD

## References

- [https://github.com/thingsboard/thingsboard/](https://github.com/thingsboard/thingsboard/)
- [https://github.com/thingsboard/thingsboard/pull/15550](https://github.com/thingsboard/thingsboard/pull/15550)
- [https://vuldb.com/submit/817064](https://vuldb.com/submit/817064)
- [https://vuldb.com/vuln/365630](https://vuldb.com/vuln/365630)
- [https://vuldb.com/vuln/365630/cti](https://vuldb.com/vuln/365630/cti)

## Related threats

- [ThingsBoard prototype pollution sandbox escape in JS executor](https://junglewise.ai/threats/cve-2026-53676-thingsboard-prototype-pollution-sandbox-escape-in-js-executor)
- [ThingsBoard authentication bypass in OAuth authorization code exchange](https://junglewise.ai/threats/cve-2026-36537-thingsboard-authentication-bypass-in-oauth-authorization-code)
- [ThingsBoard SSRF in Image Upload Gallery](https://junglewise.ai/threats/cve-2025-34282-thingsboard-ssrf-in-image-upload-gallery)
