Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-68518— Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction

Quick assessment

Affected
nicolargo glances
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nicolas Hennion Glances是Nicolas Hennion个人开发者的一款系统监控工具。 Nicolas Hennion Glances 4.5.6之前版本存在命令注入漏洞,该漏洞源于glances/actions.py中的_sanitize_mustache_dict()函数对单个Mustache值清理不充分,导致相邻未转义的Mustache变量可重构shell操作符,进而可能被secure_popen()执行,存在命令注入风险。

CVSS 8.8 · High EPSS 0.14% · P4

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProduct Version RangeStatus
nicolargo glances < 4.5.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-68518

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Glances: Command injection bypass of action-template sanitizer via cross-field shell-operator reconstruction
Source: CVE Program / CVE List V5
Vulnerability Description
Glances is an open-source system cross-platform monitoring tool. Prior to 4.5.6, _sanitize_mustache_dict() in glances/actions.py sanitizes individual Mustache values before chevron.render(), allowing adjacent unescaped Mustache variables to reconstruct shell operators that secure_popen() executes when attacker-controlled process or container fields are rendered by an administrator-configured action template. This issue is fixed in 4.5.6.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Nicolas Hennion Glances 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Nicolas Hennion Glances是Nicolas Hennion个人开发者的一款系统监控工具。 Nicolas Hennion Glances 4.5.6之前版本存在命令注入漏洞,该漏洞源于glances/actions.py中的_sanitize_mustache_dict()函数对单个Mustache值清理不充分,导致相邻未转义的Mustache变量可重构shell操作符,进而可能被secure_popen()执行,存在命令注入风险。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
nicolargo glances < 4.5.6 -

II. Public POCs for CVE-2026-68518

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10518 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-68518

登录查看更多情报信息。

Patches & Fixes for CVE-2026-68518 (2)

Vendor Advisories for CVE-2026-68518 (1)

Same Patch Batch · nicolargo · 2026-08-17 · 5 CVEs total

CVE-2026-62982 8.8 HIGH Glances: Incomplete fix of CVE-2026-32608: action-template sanitizer is bypassed by nested
CVE-2026-68519 7.1 HIGH Glances: `--disable-config-exec` does not cover on-alert action commands (incomplete fix o
CVE-2026-68517 6.5 MEDIUM Glances: REST API CORS Credentials Guard Uses Exact-Match Instead of Membership Test — Byp
CVE-2026-68520 5.3 MEDIUM Glances: as_dict_secure() Value-Level Bypass Leaks Credentials in URL Values via /api/4/co

IV. Related Vulnerabilities

V. Comments for CVE-2026-68518

No comments yet


Leave a comment