HIGHCVSS v3.1 8.8Vulnerability

CVE-2026-77309

## Summary A security issue exists where unauthenticated callers can instruct the AIT-GUI server to execute arbitrary Python scripts. The attack vector involves obtaining a session cookie through GET /, followed by a malicious POST /script/run request containing an absolute file path that bypasses the configured script directory restrictions. ### Patches * 2.5.1 ### Impact This vulnerability allows unauthenticated remote code execution on the AIT-GUI server. Any attacker with network access can execute arbitrary Python code with daemon privileges. ## Details _Chain:_ 1. `POST /tlm/query` writes the user-controlled `fields` value into `fields_in.txt` under the AIT-GUI static directory. * If the supplied `dataDir` has no `.pcap` files, the route returns the expected `400 Bad Request` before deleting that file. 2. `POST /script/run` accepts `scriptPath=../static/fields_in.txt`. * AIT-GUI reads that file and runs it as Python. _Relevant code:_ - `ait/gui/__init__.py:930,935,942-944`: `/tlm/query` writes `fields` to `fields_in.txt`. - `ait/gui/__init__.py:952-958,978`: the no-PCAP error path aborts before cleanup. - `ait/gui/__init__.py:1130-1136`: `/script/run` joins `scriptPath` with `ScriptRoot` and only checks that the path exists. - `ait/gui/__init__.py:1186-1191`: the selected file is read and executed as Python. - `ait/gui/__init__.py:1105-1108`: nearby `/scripts/load/<name>` has a path containment check, but `/script/run` does not. ### Fix Information Restricted script execution paths and avoided using static temp files. ## PoC 1. `POST /tlm/query` writes the user-controlled `fields` value into `fields_in.txt` under the AIT-GUI static directory. * If the supplied `dataDir` has no `.pcap` files, the route returns the expected `400 Bad Request` before deleting that file. ``` # Remove file to ensure nothing exists AIT-GUI % rm <path>/fields_in.txt # With server started, send POST request to /tlm/query endpoint AIT-GUI % curl -X POST http://localhos

Properties

Summary
AIT-GUI route chain allows unauthenticated Python execution in server process
Severity
high
Nvd fetched at
2026-11-22T12:30:49.958423+00:00
Epss score
0.01051
Cvss score
8.8
Cvss severity
HIGH
Retrieved at
2026-11-22T12:32:28+00:00
Ghsa published
2026-11-20T23:36:41Z
Source url
https://github.com/advisories/GHSA-jrjx-9jjw-747m
Ghsa updated
2026-11-20T23:36:41Z
Ghsa id
GHSA-jrjx-9jjw-747m
Last source
FIRST EPSS
Score
8.8
Cvss version
3.1
Cve id
CVE-2026-77309
Cvss vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
First seen by Signal
2026-11-20T19:45:57+00:00
Name
CVE-2026-77309
Is ghsa only
false
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Related Entities (4)

AFFECTS (1)

→[Software]pip/ait-gui

VULNERABLE_TO (1)

←[Software]pip/ait-gui

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-77309 (CVSS v3.1 8.8) — Ninja Signal Threat Intelligence | Ninja Signal