CVE-2026-49973
Deferred Deferred - Pending Action
Hermes WebUI Improper Access Control Vulnerability

Publication date: 2026-06-11

Last updated on: 2026-06-11

Assigner: VulnCheck

Description
Hermes WebUI before version 0.51.358 contains an improper access control vulnerability that allows unauthenticated remote attackers to hijack initial setup by submitting the _set_password parameter to the settings API endpoint without any network origin restriction. Attackers on any reachable network can send a POST request to the settings endpoint during the first-run setup window to persist an arbitrary password hash, obtain a valid session cookie, and lock out the legitimate operator from their own instance.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-11
Last Modified
2026-06-11
Generated
2026-06-12
AI Q&A
2026-06-12
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
nesquena hermes_webui to 0.51.358 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Mitigation Strategies

To mitigate this vulnerability immediately, upgrade Hermes WebUI to version 0.51.358 or later, where the issue has been fixed by restricting the first-run password setup to local or private network clients.

If upgrading is not immediately possible, restrict network access to the Hermes WebUI instance so that only trusted local or private network clients can reach the /api/settings endpoint during the first-run setup.

Avoid exposing the WebUI to untrusted networks during initial setup to prevent remote attackers from exploiting the vulnerability.

After upgrading, the first-run password bootstrap action is gated behind a locality check, and remote bootstrap requires explicit operator opt-in via the HERMES_WEBUI_ONBOARDING_OPEN=1 environment variable.

Verify that authentication is enabled as soon as possible after setup to prevent unauthorized access.

Executive Summary

Hermes WebUI versions before 0.51.358 have an improper access control vulnerability in the initial setup process. Specifically, unauthenticated remote attackers can hijack the first-run setup by sending a POST request with the _set_password parameter to the /api/settings endpoint without any network origin restrictions.

This allows attackers on any reachable network to set an arbitrary password hash, obtain a valid session cookie, and lock out the legitimate operator from accessing their own instance.

The vulnerability exists because the endpoint does not properly restrict access during the first-run password bootstrap when authentication is disabled.

Impact Analysis

This vulnerability can have severe impacts including unauthorized takeover of the Hermes WebUI instance during its initial setup.

An attacker can set a password of their choice remotely without authentication, gain a valid session cookie, and effectively lock out the legitimate operator from managing their own system.

This leads to loss of control over the WebUI, potential disruption of services, and unauthorized access to sensitive configurations.

Detection Guidance

This vulnerability can be detected by monitoring for unauthorized POST requests to the /api/settings endpoint that include the _set_password parameter during the first-run setup window of Hermes WebUI before version 0.51.358.

To detect potential exploitation attempts, you can look for network traffic or logs showing POST requests to /api/settings from non-local IP addresses when authentication is disabled.

  • Use network monitoring tools (e.g., tcpdump, Wireshark) to capture POST requests to /api/settings.
  • Example tcpdump command to capture HTTP POST requests to /api/settings: tcpdump -i <interface> -A 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' | grep 'POST /api/settings'
  • Check Hermes WebUI server logs for POST requests containing the _set_password parameter from remote IP addresses during initial setup.

Since the vulnerability occurs only during the first-run setup window when authentication is disabled, verifying if the system is in this state is also important.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-49973. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart