Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach AIT-GUI HTTP port on network
-
DeliveryGET / to obtain session cookie
-
ExploitPOST /tlm/query writes payload to fields_in.txt
-
InstallNo-PCAP error path leaves file uncleaned
-
C2POST /script/run traverses to that file
-
ExecuteServer executes it as Python
-
ImpactRCE with AIT-GUI process privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to the AIT-GUI web server's HTTP port (the tested source binds 0.0.0.0, so any host that can reach the port qualifies); no credentials or privileged account are needed because the attack only uses the ordinary 'sid' session cookie created by GET /. The chain has one concrete trigger condition: the POST /tlm/query request must specify a dataDir that contains no .pcap files, because that error path returns 400 before deleting fields_in.txt, leaving the attacker-controlled Python content on disk for /script/run to read via path traversal (scriptPath=../static/fields_in.txt). Affected versions are 1.0.0 through 2.5.0 inclusive; 2.5.1 is patched. Limiting factors: the CVSS vector is AV:A (adjacent/network-position dependent), so exploitation depends on the attacker having a network route to the service, and code executes only with the AIT-GUI server process privileges (in the author's demo this was an unprivileged uid=1000 user, not root), bounding post-exploitation impact to that account's permissions. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated paper risk. The CVSS 3.1 vector (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, 8.8) describes low-complexity exploitation requiring no privileges and no user interaction, and the GHSA advisory plus attached live-server exploit script corroborate that an unauthenticated caller chains two routes into arbitrary Python execution. The mechanism is fully documented: POST /tlm/query writes attacker-controlled field data to a static-directory file (fields_in.txt) whose no-PCAP error path aborts before cleanup, then the unauthenticated POST /script/run accepts scriptPath=../static/fields_in.txt that resolves outside ScriptRoot and executes it as Python. No EPSS score was provided in the input, so probabilistic exploitation likelihood cannot be quantified, and the vuln.today Decision label is 'this_week' (not act_now/emergency). The flaw is NOT in CISA KEV and there is no evidence of active exploitation; the elevated real-world risk comes from confirmed working exploit code combined with trivial preconditions, offset by the product's narrow deployment footprint. One signal to verify: CVSS uses AV:A (adjacent), yet the advisory notes the server binds 0.0.0.0, so where the HTTP port is reachable from a broader network the effective attack surface approaches AV:N - assess based on your actual network exposure. |
| Exploit ScenarioDerived | An attacker with network reachability to the AIT-GUI HTTP port first issues GET / to obtain the ordinary session cookie (no credentials needed), then POSTs to /tlm/query with a dataDir containing no .pcap files so the error path leaves attacker-supplied Python lines in fields_in.txt, and finally POSTs to /script/run with scriptPath traversing to that file, causing the server to execute it as Python with the AIT-GUI process privileges. A working proof-of-concept exploit script (ait_gui_tlm_query_script_run_rce_live_server.py) and a demonstration video are attached to the advisory. Attack complexity is low (AC:L) and no user interaction is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Unauthenticated Python code execution in NASA-AMMOS AIT-GUI 1.0.0 through 2.5.0 lets any host that can reach the web server's HTTP port combine two routes into a full remote code execution chain. POST /tlm/query writes attacker-supplied field data into fields_in.txt under the static directory and, when the supplied dataDir contains no .pcap files, aborts with 400 before cleaning that file up; POST /script/run then accepts scriptPath=../static/fields_in.txt, resolves it outside ScriptRoot, and executes the file as Python with the AIT-GUI server process privileges. No credentials are needed - only the ordinary 'sid' cookie issued by GET / - and the vendor advisory includes a documented proof-of-concept reproduction, though the issue is not in CISA KEV and no confirmed active exploitation has been reported; the vector is AV:A, so exploitation depends on the attacker having a network route to the service, and code runs as the daemon account rather than root.
RemediationAI
Upgrade to AIT-GUI 2.5.1 (pip install ait-gui==2.5.1), which is the vendor-released patch; it introduces tempfile-based scratch files with guaranteed cleanup in a finally block and adds a pathlib resolve/is_relative_to(ScriptRoot) containment check on /script/run. Verify the resulting ait/gui/__init__.py matches commit beb8fc0813eded89f985d3eb9a73535dd327726d, and consult the advisory at https://github.com/NASA-AMMOS/AIT-GUI/security/advisories/GHSA-jrjx-9jjw-747m and the 2.5.1 changelog/release notes. Where upgrading is not immediately possible, the practical compensating control is to remove network exposure of the HTTP port - bind the service to 127.0.0.1 or restrict the listening port with a host or network firewall so only trusted management hosts can reach it - accepting that this cuts off remote telemetry monitoring from other hosts. Also run the AIT-GUI server under a dedicated low-privilege account (in the reporter's demo the payload executed as uid=1000, not root), which bounds post-exploitation impact to that account's permissions but does not prevent the code execution itself. Disabling or fronting the /script/run and /tlm/query routes at a reverse proxy would block the chain, but the advisory presents no such configuration as an official workaround, and only updating is a complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AIT-GUI is a Python/Bottle web application (distributed as the PyPI package ait-gui, CPE cpe:2.3:a:nasa-ammos:ait-gui) used to build telemetry monitoring and mission-operations front ends. The root cause class is CWE-22 (path traversal), compounded by CWE-459 (incomplete cleanup). In ait/gui/__init__.py the /tlm/query handler built the fields list from the request form and wrote it to os.path.join(HTMLRoot.static_dir, "fields_in.txt"), and the error branch taken when os.walk(data_dir) finds no .pcap files calls bottle.abort(400) before os.remove(), leaving attacker-controlled text on disk inside the static tree. The /script/run handler then joined the user-supplied scriptPath with ScriptRoot using os.path.join and checked only os.path.exists(), with no containment check - unlike the neighbouring /scripts/load/<name> route, which does verify containment - and the selected file was read and executed as Python via gevent.spawn(bg_exec_script, ...). The 2.5.1 fix replaces the static scratch file with tempfile.NamedTemporaryFile(delete=False) plus a finally block that always removes it, and resolves scriptPath with pathlib.Path(...).resolve() and rejects anything not is_relative_to(ScriptRoot). Note that the CVSS metrics describe severity: the AV:A value reflects the network position required, and AC:L/PR:N/UI:N reflect that no credentials or user interaction are needed; the single concrete trigger condition is the no-PCAP error path in /tlm/query.
Know when Ait Gui gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated chain reachable over the network with only a cookie (PR:N, UI:N, AC:L); arbitrary Python execution yields full C/I/A; AV:A retained per advisory's network-position framing (could be AV:N if internet-facing).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
AIT GUI provides a framework for building custom websites for real-time telemetry monitoring, commanding, and other mission operations. From 1.0.0 until 2.5.1, POST /tlm/query in ait/gui/__init__.py writes attacker-controlled field data to fields_in.txt, and its no-PCAP error path can abort before deleting that file. The unauthenticated POST /script/run route accepts a scriptPath that resolves outside ScriptRoot, reads the selected file, and executes it as Python. A network-reachable attacker can obtain the ordinary session cookie without credentials, combine the two routes, and execute arbitrary Python code with the AIT-GUI server process privileges. This issue is fixed in version 2.5.1.
Articles & Coverage 1
Technical POC Analysis
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), chained with CWE-459 (Incomplete Cleanup), in ait/gui/init.py of the ait-gui pip package.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
NASA-AMMOS AIT-GUI, a mission-operations ground tool used by NASA and partner organizations, exposes a path that lets any host reaching its web interface run attacker-controlled Python with the server's privileges. Because AIT-GUI typically sits on trusted engineering and test networks without authentication in front of it, compromise could let an intruder pivot across the ground segment, tamper with telemetry handling, or disrupt test and mission operations. Leadership should care because the affected systems are operational mission tooling, not generic IT, and no vendor fix is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network reachability to the AIT-GUI HTTP port to trusted engineering hosts only; front the service with an authenticated reverse proxy/VPN; apply WAF or proxy rules blocking traversal in scriptPath and anomalous dataDir values on /script/run and /tlm/query; run the daemon under a low-privilege, isolated account.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-131705
GHSA-jrjx-9jjw-747m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB