Home / nesquena / hermes-webui / CVE-2026-49958
CVE-2026-49958: is it exploited, and which versions of nesquena hermes-webui are affected and fixed?
CVE-2026-49958 is a time-of-check time-of-use race condition vulnerability in nesquena hermes-webui. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: hermes-webui before 0.51.303 (CVE record by VulnCheck). Fixed in 0.51.303 (CVE record by VulnCheck). Severity: Medium (4.3, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-49958?
Hermes WebUI < 0.51.303 TOCTOU Race Condition via git_discard
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.
From the CVE record by VulnCheck, last updated November 8, 2026, 14:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| nesquena | hermes-webui | before 0.51.303 | 0.51.303 |
As the CVE record by VulnCheck states it, last updated November 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-49958?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 4.0 | 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 | VulnCheck |
| Medium 5.0 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:H | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-49958 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 9, 2026)
- EPSS
- 0.08% probability of exploitation activity in the next 30 days, percentile 0.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Where are the vendor advisories and references?
- hermes-webui 0.51.303 Release Notes release-notes
- https://github.com/nesquena/hermes-webui/pull/3702 issue-tracking, patch
- https://github.com/nesquena/hermes-webui/pull/3756 issue-tracking, patch
- https://github.com/nesquena/hermes-webui/commit/4580f584964d640b95c4ffc9245a21ab926bec73 patch
- https://www.vulncheck.com/advisories/hermes-webui-toctou-race-condition-via-git-discard third-party-advisory
Who found and reported it?
- Chia Min Jun Lennon (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 2, 2026
- Published
- June 9, 2026, 16:35 UTC
- CVE record updated
- November 8, 2026, 14:04 UTC by VulnCheck
- NVD
- Deferred, last modified July 23, 2026, 08:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect hermes-webui?
- Jul 9, 2026CVE-2026-58122 nesquena hermes-webui: use of Less Trusted Source
- Jul 9, 2026CVE-2026-58123 nesquena hermes-webui: missing authentication for a critical function
- Jun 30, 2026CVE-2026-58174 nesquena hermes-webui: incorrect permissions on a critical resource
- Jun 18, 2026CVE-2026-55205 nesquena hermes-webui: denial of service (resources allocated without limits)
- Jun 17, 2026CVE-2026-55198 nesquena hermes-webui: authorization bypass through a user-controlled key (IDOR)
- Jun 17, 2026CVE-2026-55197 nesquena hermes-webui: authorization bypass through a user-controlled key (IDOR)
- Jun 17, 2026CVE-2026-53871 nesquena hermes-webui: trust in cookies without checks
- Jun 11, 2026CVE-2026-49973 nesquena hermes-webui: missing authentication for a critical function
Questions about CVE-2026-49958
Is CVE-2026-49958 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.08% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of nesquena hermes-webui are affected by CVE-2026-49958?
hermes-webui before 0.51.303, per the CVE record by VulnCheck. The tables above give every range the sources list.
Which version fixes CVE-2026-49958?
0.51.303, per the CVE record by VulnCheck. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-49958?
Medium (4.3, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-49958?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.