HOMEVULNERABILITIESCVE-2026-49958
MEDIUM

CVE-2026-49958

CWE-367Published: June 9, 2026· Updated: Jun 9, 2026

5.0
CVSS v3.1
EPSS:0.01%probability of exploitation in 30 daysPercentile:1.8th

Official Description

Hermes WebUI before version 0.51.303 contains a time-of-check time-of-use (TOCTOU) race condition vulnerability in the git_discard function within api/workspace_git.py that allows attackers to delete files outside the configured workspace boundary by replacing a validated path component with a symlink after validation but before deletion. Attackers can substitute a workspace-controlled path component with a symlink pointing to an external directory between the safe_resolve_ws() validation step and the subsequent Path.unlink() or shutil.rmtree() deletion call, causing the delete operation to follow the symlink and remove arbitrary files outside the workspace.

NVD Source

Technical Analysis

CVE-2026-49958 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in availability disruption (denial of service), with a CVSS base score of 5.0.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityHigh
Privileges Req.Low
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityLow
AvailabilityHigh
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:H

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

All References (6)

Quick Facts

CVE IDCVE-2026-49958
CVSS Score5.0 / 10
SeverityMEDIUM
WeaknessCWE-367
CISA KEVNo
EPSS (30d)0.01%
PublishedJun 9, 2026

Related CVEs (CWE-367)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2026-49958 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.