AIT-GUI Unauthenticated Python Execution via Route Chain (CVE-2026-77309)
Detects exploitation of CVE-2026-77309, a route-chain flaw in NASA-AMMOS AIT-GUI (>= 1.0.0, <= 2.5.0) that allows an unauthenticated remote attacker to execute arbitrary Python within the AIT-GUI bottle server process. The flaw (CWE-22 path traversal combined with CWE-459 incomplete cleanup) lets a crafted HTTP request to the scripts/command routes reach code paths that evaluate attacker-controlled Python. Detection focuses on anomalous HTTP requests to AIT-GUI endpoints (e.g. /scripts, /cmd, /tlm, /pcap/upload) containing traversal sequences or script payloads, followed by unexpected child-process or interpreter activity spawned by the Python server process. Upgrade to 2.5.1.
Vulnerability Intelligence
Public PoCAffected Software
- Vendor
- pip
- Product
- ait-gui
- Versions
- >= 1.0.0, <= 2.5.0
Timeline
- Disclosed
- November 20, 2026
References & Proof of Concept
- https://github.com/NASA-AMMOS/AIT-GUI/security/advisories/GHSA-jrjx-9jjw-747m
- https://nvd.nist.gov/vuln/detail/CVE-2026-77309
- https://github.com/NASA-AMMOS/AIT-GUI/commit/beb8fc0813eded89f985d3eb9a73535dd327726d
- https://github.com/NASA-AMMOS/AIT-GUI/blob/2.5.1/CHANGELOG.md
- https://github.com/NASA-AMMOS/AIT-GUI/releases/tag/2.5.1
- https://github.com/advisories/GHSA-jrjx-9jjw-747m
What is CVE-2026-77309 AIT-GUI Unauthenticated Python Execution via Route Chain (CVE-2026-77309)?
AIT-GUI Unauthenticated Python Execution via Route Chain (CVE-2026-77309) (CVE-2026-77309) maps to the Initial Access and Execution tactics — the adversary is trying to get into your network in MITRE ATT&CK.
This page provides production-ready detection logic for AIT-GUI Unauthenticated Python Execution via Route Chain (CVE-2026-77309), covering the data sources and telemetry it touches: Network Proxy / WAF logs, Firewall HTTP inspection. The queries below are rated high severity at medium confidence, and ship for 7 SIEM platforms — KQL, SPL, Elastic, QRadar, Sumo, YARA-L, LogScale.
MITRE ATT&CK
- Tactic
- Initial Access Execution
// df00tech DF00-b41f243a1e · https://df00tech.com/detections/CVE-2026-77309 · licence: https://df00tech.com/detections/licence
let aitPorts = dynamic([8080, 8000]);
let suspPaths = dynamic(["/scripts", "/script", "/cmd", "/command", "/pcap/upload", "/tlm", "/seq"]);
// HTTP requests to AIT-GUI route chain with traversal or python payload indicators
CommonSecurityLog
| where DeviceVendor has_any ("Zscaler", "Palo Alto", "F5") or isnotempty(RequestURL)
| where RequestURL has_any (suspPaths)
| where RequestURL has_any ("../", "..%2f", "%2e%2e", "__import__", "os.system", "subprocess", "eval(", "exec(", "compile(")
| project TimeGenerated, SourceIP, DestinationIP, DestinationPort, RequestURL, RequestMethod, DeviceVendor
| extend Reason = "AIT-GUI route-chain exploit attempt (CVE-2026-77309)" Identifies HTTP requests to AIT-GUI bottle-server routes containing path-traversal sequences or embedded Python execution primitives, consistent with CVE-2026-77309 exploitation.
Data Sources
Required Tables
False Positives
- Legitimate AIT-GUI operators uploading sequence or command scripts that reference Python modules
- Security scanners (DAST) probing the AIT-GUI endpoints
- Automated integration test harnesses exercising the scripts/command routes
Query fingerprint DF00-b41f243a1e · licence
Sigma logsource & community rules
The detection logic for AIT-GUI Unauthenticated Python Execution via Route Chain (CVE-2026-77309) (CVE-2026-77309) above is provided in a vendor-neutral
form so you can deploy it on any SIEM. The same logic is shipped here as native
KQL (Microsoft Sentinel / Defender), SPL (Splunk), Elastic (Elastic Security (EQL)), QRadar (IBM QRadar (AQL)), Sumo (Sumo Logic CSE), YARA-L (Google Chronicle / SecOps), LogScale (CrowdStrike LogScale (CQL)) queries. In Sigma terms, this detection targets the
following logsource:
logsource:
category: network_connection
product: windows Browse the community-maintained Sigma rules for this technique:
Platform-specific guides for CVE-2026-77309
References (6)
- https://github.com/NASA-AMMOS/AIT-GUI/security/advisories/GHSA-jrjx-9jjw-747m
- https://nvd.nist.gov/vuln/detail/CVE-2026-77309
- https://github.com/NASA-AMMOS/AIT-GUI/commit/beb8fc0813eded89f985d3eb9a73535dd327726d
- https://github.com/NASA-AMMOS/AIT-GUI/blob/2.5.1/CHANGELOG.md
- https://github.com/NASA-AMMOS/AIT-GUI/releases/tag/2.5.1
- https://github.com/advisories/GHSA-jrjx-9jjw-747m
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are further down this page.
- Test 1 Simulated AIT-GUI traversal + Python payload request
Expected signal: Proxy/web access log entry for /scripts with ..%2f and __import__ in the URL.
- Test 2 Python server spawns shell (post-exploitation simulation)
Expected signal: Process-creation event with python3 as parent and sh/id as child.
- Test 3 Python server spawns download tool
Expected signal: Process-creation event with python3 as parent and curl as child.
Response Playbook
Triage
- Confirm the destination host runs AIT-GUI and determine its installed version; versions >= 1.0.0 and <= 2.5.0 are vulnerable (fixed in 2.5.1).
- Extract the full request URL, method, and body from the matched HTTP event and decode any traversal or URL-encoded sequences to recover the attacker-supplied Python payload.
- Correlate the source IP against known operator/administration hosts and check whether the request was authenticated; CVE-2026-77309 exploitation requires no authentication.
- Review process telemetry on the AIT-GUI host for child processes spawned by the python/python3 server process in the minutes following the request.
Containment
- Block the attacker source IP at the perimeter/WAF and restrict access to the AIT-GUI port (default 8080) to trusted operator networks.
- Isolate or take the affected AIT-GUI host offline if post-exploitation child processes are confirmed, and upgrade AIT-GUI to 2.5.1.
Evidence Collection
- Capture the raw HTTP request/response, proxy and web-server access logs, and the AIT-GUI application logs covering the event window.
- Collect process-creation records, command lines, and any files written by the python server process, plus a memory image if hands-on-keyboard activity is suspected.
Escalation Criteria
- ! Escalate to IR if a non-python child process (shell, interpreter, recon or download tool) was spawned by the AIT-GUI server process after the request.
- ! Escalate if the source IP is external/untrusted or if multiple AIT-GUI hosts received the same route-chain payload.
Investigation Guide
Forensic Artifacts
- >
AIT-GUI / bottle web server access logs showing requests to /scripts, /cmd, /command, or /pcap/upload with traversal or Python payloads. - >
Process-creation events on the host where python/python3 is the parent of a shell or recon utility. - >
Any temporary files, uploaded sequence/script files, or modified AIT config written during the request window.
Tuning Guidance
Baseline the legitimate child processes that your AIT-GUI command handlers spawn (some deployments intentionally shell out) and allowlist those specific command lines. Scope the network queries to the hosts and ports actually running AIT-GUI to cut proxy-log noise, and exclude known scanner and CI source IPs. Raise confidence to high when an HTTP route-chain request is followed within minutes by an unexpected child process on the same host.
Hunting Queries
Hunts for shell, recon, or download utilities spawned by a Python process, a strong signal of post-exploitation code execution following the AIT-GUI route-chain flaw.
// df00tech DF00-b41f243a1e · https://df00tech.com/detections/CVE-2026-77309 · licence: https://df00tech.com/detections/licence
DeviceProcessEvents | where InitiatingProcessFileName in~ ("python","python3","python.exe") | where FileName in~ ("sh","bash","cmd.exe","powershell.exe","whoami","id","curl","wget") | project TimeGenerated, DeviceName, InitiatingProcessCommandLine, FileName, ProcessCommandLine ``` df00tech DF00-b41f243a1e · https://df00tech.com/detections/CVE-2026-77309 · licence: https://df00tech.com/detections/licence ```
index=* sourcetype=*sysmon* EventCode=1 parent_process_name IN ("python","python3","python.exe") process_name IN ("sh","bash","cmd.exe","powershell.exe","whoami","curl","wget") | table _time host parent_process process Atomic Red Team Tests
Sends a crafted HTTP request to an AIT-GUI endpoint containing a path-traversal sequence and a Python execution primitive to generate proxy/web-log telemetry.
Command
curl -s -o /dev/null 'http://127.0.0.1:8080/scripts?path=..%2f..%2f&cmd=__import__(%22os%22).system(%22id%22)' Cleanup
echo 'no cleanup required (read-only request)' Expected Telemetry
Proxy/web access log entry for /scripts with ..%2f and __import__ in the URL.
Expected Detection
The kql/spl/qradar_aql/sumo_logic/chronicle_yaral network rules match the route-chain request.
Simulates arbitrary Python execution by having a Python process spawn a shell command, mimicking the exploited server behaviour.
Command
python3 -c "import os; os.system('id')" Cleanup
echo 'no cleanup required' Expected Telemetry
Process-creation event with python3 as parent and sh/id as child.
Expected Detection
The elastic_eql and crowdstrike_cql rules and the hunting queries detect the python-parented shell process.
Simulates a post-exploitation stager by having Python invoke a download utility, representing attacker tooling retrieval after code execution.
Command
python3 -c "import subprocess; subprocess.run(['curl','-s','http://127.0.0.1/'])" Cleanup
echo 'no cleanup required' Expected Telemetry
Process-creation event with python3 as parent and curl as child.
Expected Detection
The crowdstrike_cql and elastic_eql rules match the python-parented curl process.
Related Detections
Tactic Hubs
Related Techniques
Same Tactic: Initial Access
Blog posts about this detection
Browse by tactic
- Reconnaissance TA0043
- Resource Development TA0042
- Initial Access TA0001
- Execution TA0002
- Persistence TA0003
- Privilege Escalation TA0004
- Stealth TA0005
- Defense Impairment TA0112
- Credential Access TA0006
- Discovery TA0007
- Lateral Movement TA0008
- Collection TA0009
- Command and Control TA0011
- Exfiltration TA0010
- Impact TA0040