CVE-2026-49958

MEDIUMPre-NVD 5.05.0
EchelonGraph scoreMEDIUM confidence

Score 5.0 from GitHub Security Advisory published 2026-06-09. a secondary CVSS source baseline 5.0; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 3 sources updated this weekElevated
5.0EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 5.0Exploit: Elevated riskExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

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 computed
Severity50% × 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
Patch available. Sources: github_commit, github_pr, github_release.
github_pr

[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/3702
generic

Hermes WebUI < 0.51.303 TOCTOU Race Condition via git_discard | Advisories | VulnCheck

https://www.vulncheck.com/advisories/hermes-webui-toctou-race-condition-via-git-discard
github_release Patch Available

v0.51.303

Patch available: nesquena/hermes-webui v0.51.303

https://github.com/nesquena/hermes-webui/releases/tag/v0.51.303
github_pr Patch Available

Release 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/3756
github_commit Patch Available

commit 4580f584964d (nesquena/hermes-webui)

Patch available: nesquena/hermes-webui v0.51.379 (contains commit 4580f584964d)

https://github.com/nesquena/hermes-webui/commit/4580f584964d640b95c4ffc9245a21ab926bec73

Vendor 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 8× in last 7d / 41× 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.

  1. 2026-07-27 08:21 UTCEG score recompute
  2. 2026-07-27 08:21 UTCGHSA enrichment
  3. 2026-07-26 14:54 UTCEPSS rescore
  4. 2026-07-26 06:48 UTCEG score recompute
  5. 2026-07-26 06:48 UTCGHSA enrichment
  6. 2026-07-24 14:18 UTCEPSS rescore
  7. 2026-07-23 03:18 UTCEG score recompute
  8. 2026-07-22 14:08 UTCEPSS rescore
  9. 2026-07-19 02:29 UTCEPSS rescore
  10. 2026-07-18 10:04 UTCEPSS rescore
  11. 2026-07-16 17:03 UTCEPSS rescore
  12. 2026-07-16 09:22 UTCGHSA enrichment
  13. 2026-07-15 16:57 UTCEPSS rescore
  14. 2026-07-15 16:57 UTCEPSS rescore
  15. 2026-07-15 10:06 UTCGHSA enrichment
  16. 2026-07-14 02:18 UTCGHSA enrichment
  17. 2026-07-13 22:30 UTCEPSS rescore
  18. 2026-07-13 06:13 UTCEPSS rescore
  19. 2026-07-11 20:12 UTCGHSA enrichment
  20. 2026-07-11 08:27 UTCEPSS rescore
  21. 2026-07-10 20:51 UTCGHSA enrichment
  22. 2026-07-09 02:47 UTCGHSA enrichment
  23. 2026-07-08 15:16 UTCEPSS rescore
  24. 2026-07-08 01:26 UTCGHSA enrichment
  25. 2026-07-07 13:46 UTCEPSS rescore
Show 50 more
  1. 2026-07-06 16:27 UTCEPSS rescore
  2. 2026-07-05 15:19 UTCGHSA enrichment
  3. 2026-07-04 15:03 UTCGHSA enrichment
  4. 2026-07-04 06:31 UTCEPSS rescore
  5. 2026-07-03 15:47 UTCGHSA enrichment
  6. 2026-07-02 14:04 UTCGHSA enrichment
  7. 2026-07-01 15:07 UTCEPSS rescore
  8. 2026-07-01 14:48 UTCGHSA enrichment
  9. 2026-06-30 15:28 UTCGHSA enrichment
  10. 2026-06-29 14:06 UTCEPSS rescore
  11. 2026-06-29 14:06 UTCEPSS rescore
  12. 2026-06-29 10:41 UTCGHSA enrichment
  13. 2026-06-28 14:07 UTCEPSS rescore
  14. 2026-06-28 11:18 UTCGHSA enrichment
  15. 2026-06-28 04:56 UTCEPSS rescore
  16. 2026-06-28 04:56 UTCEPSS rescore
  17. 2026-06-27 12:01 UTCGHSA enrichment
  18. 2026-06-26 12:37 UTCGHSA enrichment
  19. 2026-06-25 10:59 UTCGHSA enrichment
  20. 2026-06-24 11:43 UTCGHSA enrichment
  21. 2026-06-23 21:33 UTCEPSS rescore
  22. 2026-06-23 21:33 UTCEPSS rescore
  23. 2026-06-23 10:59 UTCGHSA enrichment
  24. 2026-06-22 11:42 UTCGHSA enrichment
  25. 2026-06-21 10:34 UTCGHSA enrichment
  26. 2026-06-20 10:04 UTCGHSA enrichment
  27. 2026-06-19 10:45 UTCGHSA enrichment
  28. 2026-06-18 17:52 UTCEPSS rescore
  29. 2026-06-18 17:52 UTCEPSS rescore
  30. 2026-06-18 11:13 UTCGHSA enrichment
  31. 2026-06-17 17:53 UTCEPSS rescore
  32. 2026-06-17 11:27 UTCGHSA enrichment
  33. 2026-06-16 17:53 UTCEPSS rescore
  34. 2026-06-16 12:11 UTCGHSA enrichment
  35. 2026-06-15 17:49 UTCEPSS rescore
  36. 2026-06-15 17:49 UTCEPSS rescore
  37. 2026-06-15 12:55 UTCGHSA enrichment
  38. 2026-06-14 23:18 UTCEPSS rescore
  39. 2026-06-14 13:39 UTCGHSA enrichment
  40. 2026-06-13 23:00 UTCEPSS rescore
  41. 2026-06-13 14:22 UTCGHSA enrichment
  42. 2026-06-12 23:12 UTCEPSS rescore
  43. 2026-06-12 23:12 UTCEPSS rescore
  44. 2026-06-12 15:05 UTCGHSA enrichment
  45. 2026-06-11 15:50 UTCGHSA enrichment
  46. 2026-06-11 14:00 UTCEPSS rescore
  47. 2026-06-10 22:19 UTCEPSS rescore
  48. 2026-06-10 16:33 UTCGHSA enrichment
  49. 2026-06-09 17:17 UTCEG score recompute
  50. 2026-06-09 17:17 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2026-49958?
CVE-2026-49958 is a medium vulnerability published on June 9, 2026. Hermes WebUI before version 0.51.303 contains a time-of-check time-of-use (TOCTOU) race condition vulnerability in the gitdiscard function within api/workspacegit.py that allows attackers to delete files outside the configured workspace boundary by replacing a validated path component with a…
When was CVE-2026-49958 disclosed?
CVE-2026-49958 was first published in the National Vulnerability Database on June 9, 2026, with the most recent update on July 23, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-49958 actively exploited?
CVE-2026-49958 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 99.7% of all scored CVEs.
What is the CVSS score of CVE-2026-49958?
CVE-2026-49958 has a CVSS v3 base score of 5.0 (NVD).
How do I remediate CVE-2026-49958?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-49958, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-49958

Explore →

Is Your Infrastructure Affected by CVE-2026-49958?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.