Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.9%top 42%

CVE-2026-49959: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in nesquena hermes-webui

0
High
VulnerabilityCVE-2026-49959cvecve-2026-49959
Published: 06/09/2026 (06/09/2026, 16:46:03 UTC)
Source: CVE Database V5
Vendor/Project: nesquena
Product: hermes-webui

Description

Hermes WebUI before version 0.51.311 contains a remote code execution vulnerability that allows authenticated attackers to execute arbitrary commands by placing malicious executable Git configuration in a workspace repository's .git/config file. Attackers can exploit Git subprocess invocations in api/workspace_git.py through vectors such as core.fsmonitor during git status, protocol.ext.allow with ext:: remotes during git fetch, credential.helper, core.askPass, core.gitProxy, or inherited environment variables including GIT_SSH_COMMAND to achieve arbitrary command execution on the host running the application.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
nesquena/hermes-webui
pkg:github/nesquena/hermes-webui
Affected versions
<0.51.311

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:08:54 UTC

Technical Analysis

CVE-2026-49959 is a remote code execution vulnerability in nesquena's Hermes WebUI before version 0.51.311. Authenticated attackers can exploit improper neutralization of special elements in Git configuration files (.git/config) within workspace repositories. The vulnerability arises from unsafe handling of Git subprocess invocations in api/workspace_git.py, including vectors like core.fsmonitor during git status, protocol.ext.allow with ext:: remotes during git fetch, credential.helper, core.askPass, core.gitProxy, and inherited environment variables such as GIT_SSH_COMMAND. This allows execution of arbitrary OS commands on the host running the application.

Potential Impact

Successful exploitation enables authenticated attackers to execute arbitrary commands on the host system, potentially leading to full system compromise, data theft, or disruption of services. The vulnerability requires authentication but has a high impact due to the ability to execute OS-level commands with the privileges of the application.

Mitigation Recommendations

No official patch or remediation guidance is currently confirmed. Users should upgrade Hermes WebUI to version 0.51.311 or later once available. Until then, restrict access to trusted users only and monitor for suspicious activity related to Git operations within the application. Check the vendor advisory regularly for updates on patches or official fixes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-06-02T16:30:15.233Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a284d1c8dd33fbd85665b5c

Added to database: 06/09/2026, 17:27:56 UTC

Last enriched: 07/15/2026, 10:08:54 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 91

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses