Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-49958 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition[email protected]

Affected Products

ProductVersions
Hermes WebUI
< 0.51.303 (semver)

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-49958
NVD Published Date:
Jun 9, 2026
NVD Last Modified:
Jul 23, 2026
Source:
[email protected]
CVE-2026-49958 Details - Not Deferred