Dev.to Security 🔐 Cybersecurity 👁 0 📖 1 min read

CVE-2026-77309: AIT-GUI Route Chain Enables Unauthenticated Python

TL;DR: Upgrade AIT-GUI to 2.5.1 or apply path containment and session validation to block unauthenticated arbitrary Python execution via /tlm/query and /script/run. CVE-2026-77309 (GHSA-jrjx-9jjw-747m) affects AIT-GUI

TL;DR: Upgrade AIT-GUI to 2.5.1 or apply path containment and session validation to block unauthenticated arbitrary Python execution via /tlm/query and /script/run.

CVE-2026-77309 (GHSA-jrjx-9jjw-747m) affects AIT-GUI versions 1.0.0 through 2.5.0 and permits unauthenticated remote code execution on the server process. The vulnerability chains two HTTP routes: POST /tlm/query writes attacker-controlled fields into fields_in.txt under the static directory, and POST /script/run reads that file and executes it as Python. Because /script/run lacks the path containment check present on nearby /scripts/load/, an attacker can traverse outside the configured script directory and execute arbitrary code with daemon privileges. CVSS 3.1 scores this at 8.8 High with adjacent network access, low complexity, no privileges, and no user interaction.

Verified Key Facts

Metric / Signal Finding
Affected versions ait-gui >= 1.0.0, <= 2.5.0
Patched version 2.5.1
CVSS 3.1 base score 8.8 High (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
CWEs CWE-22 Improper Limitation of a Pathname to a Restricted Directory; CWE-459 Incomplete Cleanup
EPSS 30-day exploitation probability 1.0%

Inside the Full Technical Dispatch

  • Threat Model & Attack Surface Matrix
  • Why Naive Prompt Filters Fail
  • Defense-in-Depth & Sandbox Isolation Architecture
  • Runnable Guardrail Policy / Verification Code
  • Operational Tradeoffs & False-Positive Budget

Read the full analysis, runnable configurations, benchmark tables, and primary source citations on Pyvren.

Originally published on Pyvren by Hamdi Soudani.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.