Technical assessment
The artifact contains a Python script (poc-cve-2025-55182.py) that sends a crafted React Flight payload to a target Next.js server to achieve unauthenticated remote code execution (RCE) by exploiting unsafe deserialization in React Server Components (CVE-2025-55182). The README documents the script's usage and shows successful command execution output.
Backdoor review
No backdoor observed in reviewed code
The reviewed evidence consists of a README and a Python PoC script (poc-cve-2025-55182.py) that demonstrate exploitation of CVE-2025-55182, a React Server Components deserialization vulnerability. The script sends a crafted multipart request to trigger remote code execution via a NEXT_REDIRECT error digest. All behavior is consistent with the stated purpose of demonstrating the CVE; no concealed backdoor, unrelated payload, persistence mechanism, or operator-directed harm beyond the declared exploit is present.
Model confidence100%
AuthenticationNot required
LanguagesPython
Target softwareNext.jsReact Server Components
Attack typesRemote Code ExecutionDeserialization of Untrusted Data
Evidence & reasoningClassification basis · observed behavior · safety review
Technical evidenceClassification basis and observed behavior
Classification basis
The primary artifact is the Python script poc-cve-2025-55182.py, which is explicitly designed to send a malicious payload to a vulnerable server to execute arbitrary commands. This constitutes exploit code as it exercises the vulnerability to achieve remote code execution, not merely detecting or reporting it.
poc-cve-2025-55182.py:1-9poc-cve-2025-55182.py:29-58README.md:134-136Requirements
- Target must be running a vulnerable version of Next.js with React Server Components (19.0.0, 19.1.0, 19.1.1, 19.2.0) and have a Server Function endpoint accessible.
README.md:9-11poc-cve-2025-55182.py:5
Observed behavior
- The script constructs a multipart form-data payload containing a crafted JSON object that exploits React Flight deserialization to execute an arbitrary shell command via Node.js child_process.execSync.
poc-cve-2025-55182.py:29-58 - The payload is sent as a POST request to the target URL with a 'Next-Action: x' header, triggering the Server Action endpoint.
poc-cve-2025-55182.py:117-129 - The script extracts the command output from the 'digest' field of the server's error response body, confirming successful remote code execution.
poc-cve-2025-55182.py:61-71poc-cve-2025-55182.py:139-142 - The README shows example runs of the exploit script executing 'uname -a', 'whoami', and 'id' on a Docker container, returning the command output.
README.md:143-183
Safety-review evidenceBehaviors behind the backdoor verdict
Observables
- Exploit Payload
- JavaScript code injected via _prefix field to execute child_process.execSync and throw NEXT_REDIRECT with command output in digestThis is the core exploit mechanism for CVE-2025-55182, matching the described vulnerability.
poc-cve-2025-55182.py:40-44 - Command Execution
- Commands such as 'uname -a', 'whoami', 'id' are executed on the target and output is extracted from the responseDemonstrates the RCE impact of the CVE; no evidence of commands being executed for unrelated purposes.
README.md:143-183
Review boundariesWhat the analysis did not establish
- Only two of eleven repository files were provided as text; the remaining nine files (including middleware.js, Dockerfile, and NextJs.py) are omitted, so the full laboratory setup and the passive scanner script cannot be analyzed.
- The evidence does not include the actual execution of the exploit; the README output is presented as documentation, not as a verified runtime trace.
- Only two of eleven repository files were provided as readable text; nine files (including Dockerfile, package.json, middleware.js, and app route files) are present only as metadata and were not reviewed.
- Binary analysis was not performed; the evidence policy states binary files are flagged metadata-only and not analyzed.
- The review is limited to static analysis of the supplied text; no dynamic execution or network behavior was observed.
Model interpretationThis review is limited to the supplied PoC code and context. It does not assert that the code works or is safe to execute.