CVE-2025-57631: TDuckCloud SQL injection in file upload module

CVE-2025-57631 · Severity: critical · CVSS 9.8 · Published 2025-09-16

TDuckCloud is a platform used by businesses to create and manage online forms and surveys. A critical security flaw in version 5.1 allows an attacker to manipulate the system's database by sending specially crafted requests to the file upload module. This could lead to the theft of sensitive customer data, unauthorized modification of records, or complete takeover of the server.

Vendors: Tduckcloud.

Quick answers

Is CVE-2025-57631 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-57631 being exploited in the wild.
How severe is CVE-2025-57631?
Critical severity, with a CVSS score of 9.8, published 16 September 2025.
Which products and versions are affected?
TDuckCloud 5.1.
Is there a fix for CVE-2025-57631?
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-2025-57631 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2025-57631?
Check whether you run Tduckcloud Tduck or TDuckCloud 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 SQL injection vulnerability exists in TDuckCloud v.5.1 within the file download functionality of the form data module. Specifically, the 'formKey' parameter in the '/user/form/data/download/file' API endpoint is susceptible to error-based SQL injection (e.g., using the 'updatexml' function). An unauthenticated remote attacker can exploit this by sending a crafted JSON POST request to extract sensitive information from the database or potentially achieve remote code execution depending on the database configuration. The vulnerability is triggered when interacting with the 'Add a file upload' module during data retrieval.

Affected products

  • TDuckCloud TDuckCloud (tduck-platform) 5.1

Timeline

  • 2025-09-16: disclosed: Vulnerability details and PoC published on GitHub Gist
  • 2025-09-16: advisory: CVE-2025-57631 published

References

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