CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-115477

CVE-2026-115477: Human-in-the-Loop Authorization Bypass in obsidian-tc

Alon Barad
Alon Barad
Software Engineer

Oct 23, 2026·5 min read·21 visits

Executive Summary (TL;DR)

In obsidian-tc prior to version 1.31.4, echoing a valid requestState token causes the server to execute destructive tool calls regardless of whether the user explicitly declined or canceled the prompt.

A high-severity authorization bypass vulnerability in obsidian-tc allows clients to bypass Human-In-The-Loop (HITL) confirmation prompts over Streamable HTTP deployments. Due to incomplete validation of returned prompt responses, an attacker echoing a signed requestState token can force execution of destructive vault operations even if a human user declines or cancels the prompt.

Vulnerability Overview

CVE-2026-115477 affects the obsidian-tc Model Context Protocol (MCP) server when deployed over Streamable HTTP with auth.jwtSecret configured. The package exposes governed tools for interacting with Obsidian vaults, including destructive actions like file deletion, frontmatter modification, and workspace updates. Human-in-the-Loop (HITL) authorization gates prevent unauthenticated or unauthorized tool execution by requiring explicit user confirmation before processing destructive requests.

In versions >= 1.13.0 and < 1.31.4, the server failed to validate user approval decisions upon receiving echoed state tokens during the elicitation flow. When a tool call triggered a HITL confirmation gate, the server returned an inputRequired response along with a signed requestState token bound to the request parameters. A client echoing this requestState token could trigger operation execution regardless of whether the user accepted, declined, or canceled the prompt.

This flaw allows an attacker or a malicious client connected to the MCP server to bypass explicit user rejection and force execution of restricted operations. The weakness is tracked under CWE-285 (Improper Authorization) and CWE-863 (Incorrect Authorization).

Root Cause Analysis

The root cause stems from a flaw in token interpretation within packages/server/src/mcp/server.ts and packages/server/src/mcp/elicit-form.ts. When an initial tool request requires human approval, the server generates a cryptographic requestState token before presenting the prompt to the user. This token binds key context details, such as tool identifier, vault ID, caller details, and target argument hashes.

Upon client resubmission, the server verified the cryptographic signature and context binding of requestState, but failed to inspect the user decision payload inside inputResponses. The logic assumed that the presence of a cryptographically valid requestState token implied user consent. Consequently, if a user clicked "Decline" or "Cancel", sending { action: "decline" } alongside the valid requestState, the server set ctx.elicitState and treated the checkHitl authorization check as satisfied.

Furthermore, sixteen conditionally gated tools in packages/server/src/vault/hitl.ts checked only ctx.elicitToken while ignoring ctx.elicitState. This misalignment caused legitimate approval flows for conditionally gated tools to fail or re-prompt repeatedly up to the 8-round elicitation limit.

Code Analysis

Prior to the patch, packages/server/src/mcp/elicit-form.ts directly copied requestState to the execution context without validating the decision payload contained in inputResponses.

// Vulnerable logic in mcp/server.ts / elicit-form.ts (pre-v1.31.4)
const echoed = extra.mcpReq.requestState?.<ElicitRequestState>();
if (echoed !== undefined) {
  // Insecurely populates elicitState without checking user acceptance
  ctx = { ...ctx, elicitState: echoed };
}

In patch 101c91c656e2c2b88bcf3696a5da035f8c032c71, the server introduces strict validation via resolveElicitConfirmation. The code inspects ctx.mcpReq.inputResponses and requires an explicit positive user action (action === "accept" and approve === true) before setting ctx.elicitState.

// Patched logic in mcp/elicit-form.ts (v1.31.4)
const confirmApproved =
  confirmResponse.kind === "elicit" &&
  confirmResponse.action === "accept" &&
  confirmResponse.content?.approve === true;
 
if (confirmApproved) {
  ctx = { ...ctx, elicitState: echoed };
} else if (confirmResponse.action === "decline" || confirmResponse.action === "cancel") {
  // Halts elicitation loop immediately and returns terminal error
  return { roundDeclinedOrCancelled: true };
}

In addition, packages/server/src/vault/hitl.ts was updated so that requireConfirmation evaluates hitlSatisfiedByState(ctx.elicitState, ...). The patch also introduces a round limit counter inside ElicitRequestState to cap retry offers at 2 rounds.

Exploitation Dynamics

Exploitation requires network access to a Streamable HTTP obsidian-tc MCP deployment configured with auth.jwtSecret. The attacker must hold low-privilege API access to send tool execution calls to the server.

An attacker initiates execution of a gated tool, such as delete_note or write_note. The server generates an inputRequired response containing a signed requestState token. When the legitimate user receives the prompt and selects "Decline" or "Cancel", the client transmits the user decision alongside the requestState token.

In vulnerable versions, the server processes the incoming payload, ignores the action: "decline" field, and completes the action using the valid requestState token. No public weaponized exploit scripts currently exist in databases, but the flaw can be triggered programmatically by any custom HTTP client.

Impact Assessment

The vulnerability allows low-privilege authenticated users or compromised agent clients to execute unapproved destructive operations across Obsidian vaults. Impacted operations include permanent file deletion (delete_note), frontmatter destruction (update_frontmatter), note overwrites (write_note), link pruning (prune_hub_links), and workspace changes.

The CVSS v4.0 base score is rated 7.1 (High) with vector CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N. Integrity impact is High (VI:H) because file modifications and deletions bypass user authorization boundaries. Confidentiality impact is None (VC:N) as this flaw does not disclose vault contents directly.

This vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and has no documented active ransomware usage.

Remediation & Architectural Limitations

The primary fix requires updating obsidian-tc to version 1.31.4 or later using npm install obsidian-tc@latest. The updated version enforces user decision checking and prevents automated execution on declined or cancelled prompts.

If upgrading immediately is not possible, operators can switch the server deployment transport from Streamable HTTP to stdio. The stdio transport uses an out-of-band single-use token mechanism unaffected by this bypass. Alternatively, removing auth.jwtSecret forces the system to revert to CLI-based single-use tokens (obsidian-tc elicit), eliminating state token handling.

> [!NOTE] > Under the MCP client-driven protocol model (2026-07-28 specification), client applications handle rendering and response generation. A malicious or modified client can directly forge an acceptance response ({ action: "accept", content: { approve: true } }). True user attestation requires transport mechanisms where the server directly prompts the user, such as stdio deployment.

Official Patches

The-40-ThievesFix commit for HITL elicitation authorization bypass
The-40-ThievesRelease tag v1.31.4

Fix Analysis (1)

Technical Appendix

CVSS Score
7.1/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Affected Systems

obsidian-tc over Streamable HTTP deployments with auth.jwtSecret configured

Affected Versions Detail

Product
Affected Versions
Fixed Version
obsidian-tc
The-40-Thieves
>= 1.13.0, < 1.31.41.31.4
AttributeDetail
CWE IDCWE-285 / CWE-863
CVSS v4.07.1 (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N)
Attack VectorNetwork
EPSS ScoreN/A
CISA KEV StatusNot Listed
Exploit StatusNo Public Weaponized Exploit
ImpactHigh Integrity (Unauthorized Destructive Operations)

MITRE ATT&CK Mapping

T1068Exploitation for Privilege Escalation
Privilege Escalation
CWE-285
Improper Authorization

The software does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.

References & Sources

  • [1]GitHub Security Advisory GHSA-737x-cwfr-5vvc
  • [2]NVD CVE-2026-115477 Detail
  • [3]CVE Program Record CVE-2026-115477
  • [4]Fix Commit 101c91c656e2c2b88bcf3696a5da035f8c032c71
  • [5]GitHub Pull Request #969
  • [6]GitHub Issue #967
  • [7]Release v1.31.4
  • [8]Repository Changelog

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•12 minutes ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
0 views•10 min read
•about 1 hour ago•GHSA-GPWC-27CW-RH9R
5.3

CVE-2026-126301: Quadratic CPU Exhaustion in NLTK LegalitySyllableTokenizer

The Natural Language Toolkit (NLTK) versions 3.6 through 3.10.3 contain an algorithmic complexity vulnerability in the LegalitySyllableTokenizer.tokenize method. When processing tokens composed of continuous runs of vowels, an unguarded string reversal and set membership lookup loop executes in quadratic time relative to the input token length. Remote attackers capable of submitting arbitrary text to applications utilizing this tokenizer can trigger sustained single-core CPU exhaustion and application-level denial of service.

Amit Schendel
Amit Schendel
2 views•10 min read
•about 2 hours ago•CVE-2026-126304
8.7

CVE-2026-126304: Symlink Path Traversal in NLTK YCOECorpusReader

CVE-2026-126304 is a symlink path traversal vulnerability (CWE-59) in the Natural Language Toolkit (NLTK) versions 3.10.0 prior to 3.10.4. The YCOECorpusReader class constructs internal sub-readers for the 'psd' and 'pos' subdirectories using FileSystemPathPointer.join(), which relies exclusively on lexical string-prefix validation rather than canonical path resolution. An attacker who supplies a crafted YCOE corpus containing symbolic links in place of the 'psd' or 'pos' subdirectories can bypass directory confinement and read arbitrary files from sibling corpora or sensitive directories within the NLTK data sandbox.

Amit Schendel
Amit Schendel
4 views•9 min read
•about 3 hours ago•CVE-2026-128077
6.5

CVE-2026-128077: Authorization Bypass via Request Path Desynchronization in Nuxt and @nuxt/nitro-server

CVE-2026-128077 (GHSA-r99w-jh2x-3mg9) is an authorization bypass and interpretation conflict vulnerability affecting Nuxt and its underlying @nuxt/nitro-server package in versions 4.6.0 through 4.6.3. When an incoming HTTP request path begins with a double forward slash (e.g., //x/admin), the WHATWG URL parser within the Nuxt server-side page renderer interprets the initial segment as a network host/authority and resolves the remaining path (/admin) against the application's page router. Because Nitro server middleware, route-scoped serverHandlers, and Nitro routeRules evaluate the unparsed request path (//x/admin), path-based access controls, redirects, and security header policies configured for /admin fail to match and are bypassed.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 4 hours ago•CVE-2026-128084
4.8

CVE-2026-128084: Integer Truncation and SQL Query Truncation in sqlite3-ruby

Prior to version 2.10.2, the sqlite3-ruby gem explicitly cast 64-bit Ruby string lengths (long) to 32-bit signed integers (int) when invoking the underlying SQLite C API. On 64-bit platforms, providing a string of 4 GiB (2^32 bytes) or larger causes integer truncation, instructing SQLite to process only a prefix of the string. This flaw affects SQL query preparation, bound parameter values, and return values from custom Ruby-defined SQL functions and aggregates, allowing trailing SQL clauses such as WHERE restrictions to be silently dropped under specific conditions.

Alon Barad
Alon Barad
5 views•11 min read
•about 5 hours ago•CVE-2026-128068
5.3

CVE-2026-128068: Regular Expression Denial of Service in rails-html-sanitizer

CVE-2026-128068 (GHSA-cpgf-5mjf-73p7) is a Regular Expression Denial of Service (ReDoS) vulnerability in the rails-html-sanitizer Ruby gem affecting versions 1.0.3 through 1.7.1. The flaw resides in the Rails::HTML::PermitScrubber#scrub_attribute method, which uses the multiline regular expression /^\s*[^#\s].*/m to enforce local-only URI fragment references on SVG elements. On Ruby runtimes prior to version 3.2 (CRuby <= 3.1 and JRuby), evaluating an attribute value composed of repeated newline and whitespace characters without a hash character triggers quadratic backtracking O(n^2). Applications are only vulnerable if their sanitization allowlist is explicitly configured to permit SVG reference elements such as <use> alongside href or xlink:href attributes.

Alon Barad
Alon Barad
6 views•9 min read