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.
CVE-2026-49958
Score 5.0 from GitHub Security Advisory published 2026-06-09. a secondary CVSS source baseline 5.0; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.0
- EG Score
- 5.0(medium)
- EG Risk
- 39(Track)EG Risk 39/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity50% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 0%
- KEV
- Not listed
Published
June 9, 2026
Last Modified
July 23, 2026
Advisory Details (5)
Auto-updated Jun 14, 2026[security] fix(git): anchor discard untracked deletes
Upstream fix in progress (PR #3702 · nesquena/hermes-webui, state=closed)
https://github.com/nesquena/hermes-webui/pull/3702Hermes WebUI < 0.51.303 TOCTOU Race Condition via git_discard | Advisories | VulnCheck
https://www.vulncheck.com/advisories/hermes-webui-toctou-race-condition-via-git-discardv0.51.303
Patch available: nesquena/hermes-webui v0.51.303
https://github.com/nesquena/hermes-webui/releases/tag/v0.51.303Release v0.51.303 — Release JS (stage-p1a — cron toggle + config var expansion + git-discard hardening)
Patch available: nesquena/hermes-webui v0.51.379 (PR #3756 merged 2026-06-07)
https://github.com/nesquena/hermes-webui/pull/3756commit 4580f584964d (nesquena/hermes-webui)
Patch available: nesquena/hermes-webui v0.51.379 (contains commit 4580f584964d)
https://github.com/nesquena/hermes-webui/commit/4580f584964d640b95c4ffc9245a21ab926bec73Vendor Advisories for CVE-2026-49958(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 26× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 140 total refreshes for this CVE.
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-14 04:35 UTCEG score recompute
- 2026-09-14 04:35 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 13:47 UTCEPSS rescore
- 2026-09-04 05:06 UTCEPSS rescore
- 2026-08-31 00:54 UTCEG score recompute
- 2026-08-31 00:54 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-28 21:41 UTCEPSS rescore
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 00:50 UTCEG score recompute
- 2026-08-25 00:50 UTCGHSA enrichment
- 2026-08-23 11:13 UTCEG score recompute
- 2026-08-23 11:13 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-21 08:23 UTCEG score recompute
- 2026-08-21 08:23 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 09:07 UTCEG score recompute
- 2026-08-20 09:07 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 00:44 UTCEG score recompute
- 2026-08-17 00:44 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-16 00:33 UTCGHSA enrichment
- 2026-08-14 21:37 UTCGHSA enrichment
- 2026-08-13 22:21 UTCGHSA enrichment
- 2026-08-12 19:18 UTCEG score recompute
- 2026-08-12 19:18 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 20:03 UTCEG score recompute
- 2026-08-11 20:03 UTCGHSA enrichment
- 2026-08-10 20:43 UTCGHSA enrichment
- 2026-08-09 17:14 UTCGHSA enrichment
- 2026-08-08 17:59 UTCEG score recompute
- 2026-08-08 17:59 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 18:42 UTCEG score recompute
- 2026-08-07 18:42 UTCGHSA enrichment
- 2026-08-06 19:26 UTCGHSA enrichment
- 2026-08-05 20:10 UTCEG score recompute
- 2026-08-05 20:10 UTCGHSA enrichment
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-04 16:10 UTCEG score recompute
- 2026-08-04 16:10 UTCGHSA enrichment
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-03 15:01 UTCGHSA enrichment
- 2026-08-02 09:37 UTCEG score recompute
- 2026-08-02 09:37 UTCGHSA enrichment
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 10:21 UTCGHSA enrichment
- 2026-07-31 10:11 UTCGHSA enrichment
- 2026-07-30 10:26 UTCEG score recompute
- 2026-07-30 10:26 UTCGHSA enrichment
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 09:07 UTCEG score recompute
- 2026-07-29 09:07 UTCGHSA enrichment
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-28 08:02 UTCEG score recompute
- 2026-07-28 08:02 UTCGHSA enrichment
- 2026-07-27 08:21 UTCEG score recompute
- 2026-07-27 08:21 UTCGHSA enrichment
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 06:48 UTCEG score recompute
- 2026-07-26 06:48 UTCGHSA enrichment
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 03:18 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 09:22 UTCGHSA enrichment
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 10:06 UTCGHSA enrichment
- 2026-07-14 02:18 UTCGHSA enrichment
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-11 20:12 UTCGHSA enrichment
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 20:51 UTCGHSA enrichment
- 2026-07-09 02:47 UTCGHSA enrichment
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 01:26 UTCGHSA enrichment
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-05 15:19 UTCGHSA enrichment
- 2026-07-04 15:03 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 15:47 UTCGHSA enrichment
- 2026-07-02 14:04 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 14:48 UTCGHSA enrichment
- 2026-06-30 15:28 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
Frequently asked(5)
What is CVE-2026-49958?
When was CVE-2026-49958 disclosed?
Is CVE-2026-49958 actively exploited?
What is the CVSS score of CVE-2026-49958?
How do I remediate CVE-2026-49958?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-49958
Is Your Infrastructure Affected by CVE-2026-49958?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.