{"schema":"threatline.record/2","record":{"id":"CVE-2026-115477","aliases":["GHSA-737x-cwfr-5vvc"],"summary":"obsidian-tc: Declined human-in-the-loop confirmations can permit destructive calls over HTTP","details":"### Summary\nOn a Streamable HTTP deployment with `auth.jwtSecret` configured, serving a 2026-07-28-era client that declared `elicitation.form` support, a call to a dispatch-gated tool (`destructive: true`, or a scope with an HITL floor) that was offered an `inputRequired` confirmation could still complete after the human declined, cancelled, or the elicitation response was omitted or malformed, provided the client echoed the validly bound `requestState` on resubmission. The server trusted an authentic, call-bound state as proof of approval; the state is minted before the elicitation leg is asked, so it proves only that the resubmission belongs to the same call.\n\n### Details\nReproduced directly: a `destructive: true` tool call, offered `inputRequired`, answered with `{action: \"decline\"}` on the `elicitation/create` leg, still wrote. Present since the 2026-07-28 round trip shipped in v1.13.0 (THE-583). Only dispatch-gated tools were reachable; the sixteen handler-side conditionally gated tools (`write_note` overwrite, `move_note`, and others) did not read the elicitation state on the modern wire at all, so they neither let a decline nor an approval through.\n\n### Impact\nA client that echoes state after a decline can execute destructive vault operations (delete, cross-folder move, frontmatter replace, link rewrite) that the human explicitly refused. The precondition is a compliant client behaving incorrectly or a client under an attacker's control; the human's refusal is not enforced by the server.\n\n### Patches\nFixed in 1.31.4: the server now also requires the confirm leg's own response (`inputResponse`) to be `{action: \"accept\", content: {approve: true}}` before trusting the echoed state. A declined, cancelled or not-approved round renders the ordinary `elicit_required` error and is never offered a second round for the same declined confirmation. The same release adds server-initiated in-band confirmation on stdio (legacy era), so stdio agents no longer need to mint `elicit_token` themselves.\n\n### Not addressed\nA malicious or non-compliant client can still answer its own `elicitation/create` leg with an approval regardless of what the human said. The server cannot verify that the client rendered the form or that a human saw it; this is inherent to the client-driven half of the 2026-07-28 protocol. The legacy shim, where the server sends and owns the leg, does not share this gap.\n\n### Workarounds\nRun affected deployments over stdio, or leave `auth.jwtSecret` unset so the `requestState` codec (and therefore `inputRequired`) is never offered; both fall back to the CLI `elicit_token` path.\n\n### Credit\nReported in GH #967; found and closed under THE-1106 (PR #969); the residual is documented in SECURITY.md.\n\n### References\n- PR #969, GH #967, CHANGELOG `## [1.31.4] ### Security`\n- `packages/server/src/mcp/server.ts` (`tools/call` handler), `packages/server/src/vault/hitl.ts`","categories":["Libraries & packages"],"product":"obsidian-tc","vendor":"The-40-Thieves","ecosystem":"npm","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-737x-cwfr-5vvc","source_modified_at":"2026-10-23T17:30:11Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"obsidian-tc"},"range":">= 1.13.0, <= 1.31.3"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-115477","source_modified_at":"2026-10-23T14:04:33.518Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"obsidian-tc","vendor":"The-40-Thieves","versions":[{"status":"affected","version":">= 1.13.0, < 1.31.4"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-737x-cwfr-5vvc","source_modified_at":"2026-10-23T17:45:03.905634155Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"obsidian-tc","ecosystem":"npm","purl":"pkg:npm/obsidian-tc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.13.0"},{"fixed":"1.31.4"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-737x-cwfr-5vvc","source_modified_at":"2026-10-23T17:30:11Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"npm","name":"obsidian-tc"},"version":"1.31.4"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-737x-cwfr-5vvc","source_modified_at":"2026-10-23T17:45:03.905634155Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"obsidian-tc","ecosystem":"npm","purl":"pkg:npm/obsidian-tc"},"version":"1.31.4"}],"cvss":7.1,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-23T14:04:33.518Z","modified_at":"2026-10-23T17:45:03.905634155Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-737x-cwfr-5vvc","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T17:30:11Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-115477","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23T14:04:33.518Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-737x-cwfr-5vvc","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-23T17:45:03.905634155Z"}],"sources":["GitHub Advisory Database","CVE List","OSV"],"references":[{"source":"CVE List","url":"https://github.com/The-40-Thieves/obsidian-tc/security/advisories/GHSA-737x-cwfr-5vvc","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/The-40-Thieves/obsidian-tc/issues/967","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/The-40-Thieves/obsidian-tc/pull/969","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/The-40-Thieves/obsidian-tc/commit/101c91c656e2c2b88bcf3696a5da035f8c032c71","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/The-40-Thieves/obsidian-tc/blob/v1.31.4/CHANGELOG.md","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/The-40-Thieves/obsidian-tc/releases/tag/v1.31.4","tags":["x_refsource_MISC"]},{"url":"https://nvd.nist.gov/vuln/detail/cve-2026-115477","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-737x-cwfr-5vvc","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-23T17:45:03.905634155Z","content_hash":"7d030fde69435f09d13e1fd2bc942fa9b970b2c2e88b3d937d769ac14b6639b7"}}
