REDCap — Unauthenticated RCE via Survey Passthru Routing and Data Import Path Write (CVE-2026-90817)
Published: 2026-11-25 • Researcher: Securifera, Inc (source repository owner); CVE-2026-90817 credited via NVD
Exploitation signals
Confirmed exploited in the wild. Added to CISA KEV 2026-11-18. Federal remediation deadline 2026-11-21.
EPSS 18.9% · 98th percentile
- Severity
- Critical
- CVE
- CVE-2026-90817
- Category
- web
- Affected product
- REDCap (Vanderbilt / REDCap Consortium research data capture web application)
- Affected versions
- 13.3.0 and higher (NVD range ">=13.3.0"; no fixed upper bound published in the source data)
- Disclosed
- 2026-11-25
- Patch status
- Unpatched
Tags
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-10-01 |
| Author / Researcher | Securifera, Inc (source repository owner); CVE-2026-90817 credited via NVD |
| CVE / Advisory | CVE-2026-90817 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.8 (CVSSv3.1 base score per source data; vector not published in the source data — See references) |
| Status | Weaponized |
| Tags | RCE, unauthenticated, REDCap, PHP, path-traversal, CWE-22, php-filter-chain, survey-passthru, blade-cache, web |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | REDCap (Vanderbilt / REDCap Consortium research data capture web application) |
| Versions Affected | 13.3.0 and higher (NVD range “>=13.3.0”; no fixed upper bound published in the source data) |
| Language / Platform | PHP web application (Laravel/Blade templating) on Apache or nginx with PHP-FPM |
| Authentication Required | No — but a valid public survey hash is required |
| Network Access Required | Yes |
Summary
REDCap 13.3.0 and later expose an unauthenticated remote code execution path through survey passthrough routing combined with Data Import file handling. Anyone who knows a valid public survey hash can pass an arbitrary controller route through the survey passthru parameter and reach internal controllers, such as the parcel and data-import controllers, outside their intended survey context. The import handler then accepts an attacker-chosen file path and stream wrapper, which allows the compiled Blade cache to be overwritten with attacker-controlled PHP. Because the parcel view recompiles and evaluates that cache file, the injected code runs and returns command output in-band as the web server user.
Vulnerability Details
Root Cause
The public survey endpoint trusts a passthru parameter that supplies the script base used by the router, while a separate route parameter selects which controller and method handle the request. A double URL-encoded value (percent-2-5-6-9-ndex dot php) survives the framework’s decoding steps and becomes index dot php, so the request is routed as if it originated from a legitimate survey page while the attacker-chosen route is still honoured. That lets an unauthenticated survey visitor reach controllers that were never meant to be reachable from a public survey context.
Once inside the data-import controller, the fname form field is handed to a file read/open routine that accepts stream wrappers. Supplying a php filter chain with a relative resource path traverses out of the expected upload/temp directory into the application’s compiled Blade cache (temp/cache, a 40-character hash-named dot bladec file). The filter chain combines convert.iconv, convert.base64-encode/decode, convert.iconv.UTF8.UTF7 and dechunk to transform a plain request parameter into arbitrary bytes, so an exact PHP file is written at an attacker-influenced path. When the parcel controller later renders its view, Blade reads the poisoned compiled cache and evaluates it, completing the path from path traversal and arbitrary file write to code execution.
Attack Vector
Unauthenticated HTTP requests against the public survey route, for example slash redcap slash surveys slash with query parameters s (the survey hash), a double-encoded __passthru value and route set to DataImportController:index. The POST body carries the normal import form fields plus fname pointing at a php filter stream over the relative cache path. A subsequent GET with route set to ParcelController:show and the payload’s secret parameter causes Blade to include the poisoned cache and run the embedded command.
Impact
Remote code execution as the web server user on the REDCap host, with command output returned in the HTTP response. The script demonstrates a single in-band command (default hostname, up to 1024 bytes per invocation) and therefore effectively grants interactive command execution. REDCap typically stores protected health information and research records, so a compromise also exposes the application database credentials, uploaded study data and any files readable by the web user.
Environment / Lab Setup
OS: Linux (any host able to reach a REDCap instance)
Target: REDCap >= 13.3.0, reachable at https://<domain>/redcap/ with at least
one public survey hash; PHP application with Blade compiled cache
enabled (default) and writable by the web user
Attacker: Python 3.8+ (requests, urllib3), same host or LAN
Tools: Python 3, curl (optional for manual verification), Burp Suite (optional)Setup Steps
The upstream repository ships no README; the steps below are derived from the CLI of poc.py.
| |
Proof of Concept
Step-by-Step Reproduction
Preflight the passthru route — the script requests the parcel route through the public survey endpoint and expects the page to contain “no parcel ID was provided”, which confirms the passthru routing works.
Shell script1 2# Performed automatically by poc.py; equivalent manual request: curl -k -sS 'https://redcap.example.edu/redcap/surveys/?s=<SURVEY_HASH>&__passthru=%2569ndex.php&route=ParcelController:show'Write the payload through the import handler — a POST to route DataImportController:index with the normal import fields (updaterecs=1, format=rows, delimiter=, date_format=MDY) and fname set to the php filter chain writing to the relative cache path.
Shell script1 2# The filter chain is generated by filter_uri() in poc.py; do not hand-craft it. python3 poc.py --target-domain redcap.example.edu --survey-hash <SURVEY_HASH> 'id'Verify the exact write — the script GETs the cache file and requires the response body to equal the payload byte-for-byte (or, behind Cloudflare, falls back to guarded execution).
Trigger evaluation — a GET to route ParcelController:show with the payload’s secret (rcg) makes Blade include the poisoned cache, run the gated PHP and execute the base64-encoded command.
Replay and clean up — a second trigger without the secret must return the normal page; the finally block rewrites the cache with a benign record_id header, deletes the cache file and verifies regeneration.
Output1 2 3cache-write -> ../temp/cache/<sha1>.bladec trigger -> GET ?route=ParcelController:show&rcg=<secret> cleanup -> rewrite benign cache, delete file, verify 404 + clean recompile
Exploit Code
See
poc.pyin this folder (archived verbatim from the upstream repository, plus the research-only disclaimer header).
| |
Expected Output
| |
Behind a filtering reverse proxy the script may first print [readback] blocked by Cloudflare; using guarded execution and then rely on the parcel page remaining intact instead of the raw cache readback.
Detection & Indicators of Compromise
- Survey endpoint requests whose __passthru value is double URL-encoded (percent-2-5 sequences) or whose route parameter names an internal controller and method, for example ParcelController:show or DataImportController:index, from an unauthenticated session.
- POST requests to the survey passthru route carrying import fields (updaterecs, fname, format=rows, delimiter, date_format) where fname starts with php://filter, phar:// or file:// or contains ../.
- Very large benign multipart padding parts in the same request (the script pads 128 KiB by default to slip past WAF body inspection).
- Files under redcap/temp/cache ending in .bladec that contain PHP tags, marker strings such as RC_CMD_ followed by 16 hex characters, or unexpected modifications to an existing hash-named view cache.
- HTTP 200 responses containing a pre element with an id matching RC_CMD_ and an integer data-exit attribute.
- Cloudflare 403 responses on direct GETs to redcap/temp/cache/ shortly after a survey import POST.
| |
SIEM / IDS Rule (example):
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Upgrade REDCap to a release containing the vendor fix. The NVD range lists 13.3.0 and higher and the source data does not name a fixed version, so confirm the fixed release with the vendor advisory — See references. |
| Workaround | Restrict survey passthru to an allowlist of survey routes, reject arbitrary route values, and reject import fname values containing stream wrappers or ../ traversal. Prevent survey-context requests from reaching internal controllers. |
| Config Hardening | Deny direct HTTP access to redcap/temp/ (including the compiled cache), run PHP workers as a low-privilege user with an open_basedir confinement, front the application with a WAF that inspects multipart bodies and caps part sizes, and rotate database credentials if compromise is suspected. |
References
Notes
Auto-ingested from https://github.com/securifera/CVE-2026-90817 on 2026-11-25.
Review verdict: this is a genuine end-to-end exploit, not a detector/scanner. The single upstream file poc.py performs the full chain — survey passthru route hijack, path-traversal write of arbitrary PHP into the compiled Blade cache via a pinned php filter chain, trigger through the parcel view, in-band command output, and verified cache cleanup. No scanning, inventory or audit logic is present. The repository has no README, no LICENSE file and no commit history beyond the single shallow commit “Add command execution functionality for REDCap” dated 2026-10-01; the code is archived for authorized research only, with attribution, and would be under default copyright absent an explicit license.
Limitations and operational notes: a valid public survey hash is mandatory; the target layout is assumed to be https://
| |