By bymfdPost

REDCap CVE-2026-90817: from a survey link to server code execution

REDCap CVE-2026-90817, the double-decode Data Import RCE chain, Securifera analysis, the Unit 42 XMRig campaign and the CISA KEV record.

REDCap CVE-2026-90817: from a survey link to server code execution

On November 18, 2026, CISA added REDCap’s code injection flaw to the KEV catalog as CVE-2026-90817. Exploitation requires a valid public survey link; it does not require a REDCap account, project membership, session cookie or CSRF token. Securifera’s technical write-up describes it as five fixable faults that begin with “one extra decode” and end with code written to a Blade template cache being included as PHP. Unit 42 reported on October 7, 2026 that the same flaw was used for a transient web shell and XMRig mining. Patches shipped in September, but the KEV record requires forensic triage; a patched server is not proof of a clean one.

Quick summary

Field Value
CVE CVE-2026-90817; Securifera CNA, September 20, 2026, last updated November 19
Product Vanderbilt University REDCap 13.3.0 and later
Affected builds Before 16.0.49, before 17.3.10 and before 17.4.4
Solution 16.0.49 LTS, 17.3.10 LTS, 17.4.4 Standard Release or later
Weaknesses CWE-73 external control of file name or path, CWE-94 code injection
Score 9.8 CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, Securifera secondary metric; NVD produced no primary score
Precondition A valid public survey s= hash; not a password or admin credential
KEV Added November 18; federal due date November 21; forensicTriage: Yes
Ransomware Unknown; no actor or campaign name in KEV
Observed use Unit 42: October 7 transient .bladec web shell, in-memory bash chain, XMRig 6.26.0
SSVC exploitation: active, automatable: yes, technicalImpact: total, CISA Coordinator 2.0.3

REDCap survey-to-code exploitation chain diagram

Technical view

The first link is in the survey passthrough layer. REDCap allows a small list of internal files from a public survey context and tries to restrict the index.php target to the PdfController:index route. According to Securifera, the allowlist search applies another urldecode() to __passthru, while the route restriction compares the value PHP already decoded once in the query string. A double-encoded value makes those checks disagree: the allowlist resolves the target file, while the route check does not recognize that string and is skipped. Securifera explicitly does not call this traditional path traversal; it is the same input interpreted after different levels of decoding.

The second link is the rights context. The survey handler defines NOAUTH and builds the user rights object before the survey identity exists. An undefined SUPER_USER constant takes the super-user branch and produces data_import_tool => 1. NOAUTH also skips the normal POST CSRF check. The result is that a public survey request can reach an administrative Data Import route. A valid survey hash is required, but the hash is neither a password nor a grant of Data Import rights.

The third link is the file name. Data Import copies the POST fname value into a local variable without requiring a server-issued upload handle or rejecting URI schemes, then passes it to PHP file functions, so a stream can be selected on the read path. The fourth link is BOM normalization: REDCap reads the file, removes a UTF-8 BOM, and writes the changed bytes back to the same resource. The filter chain generates exact bytes on the read path while the later write reaches the underlying target unchanged, turning CSV cleanup into a controlled overwrite primitive.

The fifth link is the execution sink. Securifera says its first attempt wrote exact PHP into an attacker-controlled .php.csv file, but the web server served it as text/csv; a file write alone was not execution. The answer was BladeOne’s predictable compiled template in its cache directory, which the application later runs with a normal PHP include. The same survey flaw can reach the relevant view route, so the written file is triggered through a public request. The authors tested with a unique marker rather than a command, then verified, deleted and regenerated the clean template. That is why a clean cache file does not prove the incident did not happen.

Unit 42’s October 7 note shows how the chain was used in the wild. The observed unauthenticated POST was followed by a short-lived Blade web shell under temp/cache. An in-memory second stage unpacked XMRig 6.26.0 under /var/tmp/.syslog-*, used randomized syslog-themed process names and paused mining when an interactive session was detected. Unit 42 reports at least four live workers from the mining-pool wallet telemetry. The source does not name an actor.

According to the REDCap statement quoted by Unit 42, the project learned of the flaw in September and released a software update addressing it within two days. The vendor’s own guidance sits behind the REDCap Community login; CISA’s KEV notes point to the same address. This article uses only the version numbers and patch targets verifiable in public records and does not claim to have read the administrator-only advisory.

What to do

  1. Patch the builds. Upgrade every REDCap server serving public surveys to 16.0.49 LTS, 17.3.10 LTS, 17.4.4 Standard Release or later. “13.3.0 and later” spans three separate fixed lines, not one build.
  2. Image before changing anything. Image servers combining an old build with external access before patching or rebuilding. The KEV record carries forensicTriage: Yes; looking clean after patching does not rule out earlier exploitation.
  3. Restrict surveys as temporary containment. Disable public surveys that are not needed and, until patching is complete, block survey-context access to the root dispatcher, DataImportController and ParcelController. Securifera recommends this as temporary containment.
  4. Hunt in request logs. Look for double-encoded __passthru values, survey-context DataImportController:index or ParcelController:show requests, and POSTs whose fname field contains URI schemes or conversion filters.
  5. Hunt on the host. Check temp/cache for unexpected .bladec files, php-fpm spawning bash, randomized syslog-like process names, /var/tmp/.syslog-* directories, new cron jobs, changes to authorized_keys and ~/.profile, and cleared shell history.
  6. Check the network. Look for web-server connections to mining pools, JPEG-looking secondary payload downloads and a local JSON-RPC listener on 127.0.0.1:50001.
  7. Treat a hit as compromise. Deleting the web shell and patching is not enough; clean SSH keys, cron and profile changes, rotate credentials and rebuild from a known-good image where possible.
  8. Read the deadline correctly. The federal due date is November 21, 2026. BOD 26-04 binds FCEB agencies, but is a priority signal for everyone else.

What not to claim

  • Do not call this an authenticated-user flaw. The attacker does not log in; a valid public survey hash is enough.
  • Do not treat the survey hash as an administrator password. Securifera states that it is not a password and does not grant Data Import rights.
  • Do not say NVD assigned 9.8. That is Securifera’s CNA secondary metric; NVD’s primary score field is empty.
  • Do not call it path traversal. The source describes allowlist and route checks using differently decoded values.
  • Do not say the file write was RCE by itself. Execution came from BladeOne including the overwritten cache as PHP.
  • Do not name a ransomware group. The KEV field is Unknown and Unit 42 names no actor.
  • Do not assume a patched server is clean. Patches shipped in September, Unit 42 saw exploitation on October 7, and KEV requires forensic triage.
  • Do not say a clean cache proves no exploitation. The web shell was transient and Securifera’s PoC deletes its own trace and regenerates a clean template.
  • Do not claim the vendor advisory was read. REDCap Community requires login; this article verifies only public records.

Status

As of November 30, 2026, CVE-2026-90817 is a verified chain supported by the CISA KEV JSON, CISA’s November 18 alert, the CVE record, the NVD API, Securifera’s technical write-up and Unit 42’s October 7 timely threat intel note. The CVE record was published on September 20 and updated on November 19, and lists 16.0.49 LTS, 17.3.10 LTS and 17.4.4 Standard Release as fixed. CISA records the November 18 KEV addition, the November 21 due date, forensicTriage: Yes and Unknown ransomware use; the CISA ADP SSVC block reports active exploitation, automatable and total technical impact. Securifera documents the five fault lines and the limits of the survey hash, while Unit 42 documents the POST request, transient web shell, in-memory bash chain, XMRig staging and persistence. The open questions are equally clear: no actor is named, ransomware use is unknown, the vendor guidance requires a login, and a clean cache file does not prove the incident did not occur.

From this series

Sources

Keep reading