Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-49958

published medium CVSS 4.0 · 4.3

Hermes WebUI < 0.51.303 TOCTOU Race Condition via git_discard

Published
09 Jun 2026, 16:35:42 UTC
Updated
08 Nov 2026, 14:04:59 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
nesquena — hermes-webui0 to < 0.51.303 · Other versions: affected Affected Not stated VulnCheck

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
4.3 / 10
Severity
medium
Provider
VulnCheck · cna
Vector string
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.0 medium VulnCheck · cna CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:H en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
nesquena hermes-webui 0 to < 0.51.303 (affected · semver)Default: affected VulnCheck · cna

Weaknesses

1
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition (VulnCheck · cna)

References

5

Provider assertions

2

VulnCheck · cna

Hermes WebUI < 0.51.303 TOCTOU Race Condition via git_discard

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
139d6a05ae7481fb5064775f32394943e8003cbac67db1062e5df8c588be1223
Ingested
08 Nov 2026, 14:13:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected