Back to Intelligence

CVE-2026-145654: Obot MCP Server Authorization Bypass — Detection and Remediation Guide

SA
Security Arsenal Team
December 5, 2026
12 min read

The National Vulnerability Database has published CVE-2026-145654, a critical authorization bypass vulnerability in Obot, rated CVSS 9.6 (CRITICAL) with a network-exploitable attack path. The flaw affects Obot versions 0.21.1 up to (but not including) 0.28.2 and allows any authenticated user to sidestep every access control governing Model Context Protocol (MCP) servers — ownership checks, access rules, virtual server profiles, and API key scopes — simply by renaming their own account to "anonymous."

For organizations that have deployed Obot as an MCP gateway or orchestration layer in front of internal tooling, this is not a theoretical risk. MCP servers frequently wrap sensitive capabilities: database access, cloud APIs, code execution environments, ticketing systems, and internal data stores. An attacker — or a malicious insider with the lowest-privilege account on the platform — who knows a target MCP server ID can connect to it and invoke its tools directly, completely bypassing the authorization layer that was supposed to stand in the way. The only prerequisites are valid authentication to Obot and knowledge of the target server ID, which is often discoverable through enumeration, error messages, logs, or shared documentation.

If you run Obot anywhere in your environment, treat this as an urgent patch-and-hunt engagement: upgrade to 0.28.2 or later immediately, and retroactively audit for abuse of the "anonymous" rename technique.


Technical Analysis

Affected Products and Versions

AttributeDetail
CVECVE-2026-145654
CVSS v3.x Score9.6 (CRITICAL)
Attack VectorNetwork
Affected ProductObot (MCP server platform / gateway)
Affected Versions0.21.1 ≤ version < 0.28.2
Fixed Version0.28.2
Vulnerability ClassCWE-863 (Incorrect Authorization) / CWE-285 (Improper Authorization)
Referencehttps://nvd.nist.gov/vuln/detail/CVE-2026-145654

How the Vulnerability Works

The root cause is a classic identity-spoofing authorization failure in Obot's access enforcement path. Obot resolves a user's identity — and evaluates MCP server access policy against it — based on a mutable, user-controlled attribute: the display/username field.

The attack chain, from a defender's perspective:

  1. Authenticate with any valid account. No elevated privileges are required. A standard user account on the Obot instance is sufficient.
  2. Rename the account to "anonymous." The vulnerable versions allow an authenticated user to set their own username to the reserved anonymous identity — the same identity Obot's authorization layer uses internally for unauthenticated or default-access contexts.
  3. Obtain the target MCP server ID. Server IDs are identifiers within the Obot deployment. They may be visible in URLs, API responses, shared links, error messages, or discoverable via enumeration.
  4. Connect to the MCP server and invoke tools. Because the request now appears to originate from the anonymous context, the access-check logic fails to apply the caller's real ownership, access rules, virtual server profile restrictions, and API key scopes. The attacker can issue MCP tools/call requests against servers they were never authorized to touch.

The critical design lesson here: authorization decisions were keyed to a spoofable identity attribute rather than an immutable principal identifier. Renaming an account should never change the security principal that policy is evaluated against — but in affected versions, it does.

Why This Is Dangerous in Practice

MCP servers are tool brokers. A single exposed MCP server may expose tools/call endpoints that read files, query databases, send messages, execute code, or call downstream SaaS APIs with stored credentials. Bypassing Obot's access layer means:

  • Lateral capability expansion: A low-privilege user (or an attacker who phished one set of credentials) inherits the full capability set of every reachable MCP server.
  • Scope violation of API keys: API key scopes — often the last line of defense for service accounts — are bypassed entirely.
  • Data exfiltration path: MCP servers wrapping data sources become unauthenticated-by-proxy read paths for anyone holding any account.
  • Audit corruption: Because actions are attributed to "anonymous," forensic attribution of tool invocations to the actual user becomes significantly harder.

Exploitation Status

At the time of writing, there is no public confirmation of in-the-wild exploitation, and CVE-2026-145654 has not yet been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the exploitation requirements are trivially low — a valid account and a server ID — and the technique requires no memory corruption, race conditions, or specialized tooling. Given the CVSS 9.6 score, network exploitability, and the rapid adoption of MCP infrastructure across enterprise AI deployments, defenders should assume motivated adversaries will operationalize this quickly. Do not wait for KEV inclusion to patch.


Detection & Response

This is a technical threat. The detections below target the two observable behaviors: (1) a user renaming their account to the reserved anonymous identity, and (2) MCP tool invocations attributed to the anonymous principal that should not exist in a properly configured deployment.

Sigma Rules

The first rule targets the rename-to-anonymous behavior in web/proxy/application logs; the second targets MCP JSON-RPC tool invocations occurring in an anonymous context. Tune the field names to your log pipeline (the rules use common web-log field conventions from reverse proxies and ingress controllers fronting Obot).

YAML
---
title: Obot User Rename to Anonymous Identity (Potential CVE-2026-145654 Exploitation)
id: 3f8a1c92-7d4e-4b6a-9c1f-2e5d8a0b3f47
status: experimental
description: Detects account update/rename requests that set a username to the reserved 'anonymous' identity, a key step in CVE-2026-145654 authorization bypass against Obot MCP servers.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-145654
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.privilege_escalation
  - attack.t1078
logsource:
  category: webserver
  product: linux
detection:
  selection_method:
    cs-method: 'POST'
  selection_body:
    cs-body|contains:
      - '"anonymous"'
      - "'anonymous'"
  selection_path:
    cs-uri-stem|contains:
      - '/api/'
  condition: selection_method and selection_body and selection_path
falsepositives:
  - Legitimate administrative tooling that provisions an anonymous service context; investigate any hit and correlate with the source user
level: high
---
title: MCP Tool Invocation Under Anonymous Context (Potential CVE-2026-145654 Post-Exploitation)
id: 9b2e4d71-5a3c-4f8e-b6d2-1c7a9e0f5d83
status: experimental
description: Detects MCP JSON-RPC tools/call requests observed in logs attributed to the anonymous user context, indicating successful authorization bypass via CVE-2026-145654.
references:
  - https://nvd.nist.gov/vuln/detail/CVE-2026-145654
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.privilege_escalation
  - attack.t1078
logsource:
  category: application
  product: linux
detection:
  selection_tool_call:
    Message|contains:
      - 'tools/call'
      - 'tools/list'
  selection_anon:
    Message|contains:
      - 'anonymous'
  condition: selection_tool_call and selection_anon
falsepositives:
  - Deployments that intentionally expose unauthenticated public MCP servers; if none should exist, every hit is suspicious
level: critical

KQL — Microsoft Sentinel / Defender

The following hunt queries assume Obot application logs and reverse-proxy/ingress logs are ingested into Sentinel via Syslog or CEF (CommonSecurityLog). They hunt for the rename step and for tool invocations under the anonymous identity. If anonymous tool calls appear in your environment at all, that is a high-fidelity signal — legitimate deployments should have zero.

KQL — Microsoft Sentinel / Defender
// Hunt 1: Account rename requests setting username to 'anonymous' (CVE-2026-145654 step 1)
let Lookback = 14d;
union isfuzzy=true
    (Syslog
    | where TimeGenerated > ago(Lookback)
    | where SyslogMessage has_any ("anonymous", "rename", "username", "update user")
    | where SyslogMessage has "anonymous"
    | project TimeGenerated, Computer, ProcessName, SyslogMessage),
    (CommonSecurityLog
    | where TimeGenerated > ago(Lookback)
    | where RequestMethod == "POST"
    | where RequestURL has "/api/"
    | where AdditionalExtensions has "anonymous" or Message has "anonymous"
    | project TimeGenerated, SourceIP, SourceUserID, RequestURL, Message)
| sort by TimeGenerated desc;

// Hunt 2: MCP tools/call or tools/list activity attributed to anonymous principal
let Lookback = 14d;
Syslog
| where TimeGenerated > ago(Lookback)
| where SyslogMessage has_any ("tools/call", "tools/list")
| where SyslogMessage has "anonymous"
| extend ToolCall = extract(@'"method"\s*:\s*"([^"]+)"', 1, SyslogMessage),
         ServerID = extract(@'"server"\s*:\s*"([^"]+)"', 1, SyslogMessage)
| summarize InvocationCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)
  by Computer, ToolCall, ServerID, bin(TimeGenerated, 1h)
| sort by InvocationCount desc;

// Hunt 3: Baseline — users whose activity suddenly appears as 'anonymous' after prior authenticated activity
let Lookback = 14d;
Syslog
| where TimeGenerated > ago(Lookback)
| where SyslogMessage has "user"
| summarize AuthEvents = countif(SyslogMessage !has "anonymous"),
            AnonEvents = countif(SyslogMessage has "anonymous")
  by Computer, SourceIP = HostIP
| where AnonEvents > 0 and AuthEvents > 0
| sort by AnonEvents desc;

Velociraptor VQL

If Obot is self-hosted on Linux endpoints or VMs in scope for Velociraptor, the following artifact enumerates the installed Obot version (for exposure assessment) and inspects active network listeners consistent with an Obot/MCP deployment, so you can quickly scope which assets need patching.

VQL — Velociraptor
-- Scope Obot deployments: enumerate installed Obot binaries/containers and their listeners
-- Affected: 0.21.1 <= version < 0.28.2 (CVE-2026-145654)
SELECT Pid, Name, CommandLine, Exe, Username, CreateTime
FROM pslist()
WHERE Name =~ 'obot'
   OR CommandLine =~ 'obot'
   OR Exe =~ 'obot'

-- Correlate: show listening ports for any Obot process to map network exposure
SELECT Pid, Name, Status, Family, Type, LocalAddress, LocalPort, RemoteAddress, RemotePort
FROM netstat()
WHERE Status =~ 'LISTEN'
  AND Name =~ 'obot'

Remediation and Verification Script

Use the following Bash script on self-hosted Obot hosts to report the deployed version, flag vulnerable builds, and grep local application logs for evidence of the anonymous-rename technique and anonymous tool invocation. Adjust the log path to your deployment (systemd journal, container stdout, or file-based logs).

Bash / Shell
#!/usr/bin/env bash
# CVE-2026-145654 verification and audit script for Obot deployments
# Affected: >= 0.21.1 and < 0.28.2 | Fixed: 0.28.2+

set -euo pipefail

echo "=== [1/4] Detecting installed Obot version ==="
OBOT_VER=""
if command -v obot >/dev/null 2>&1; then
  OBOT_VER=$(obot --version 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -n1 || true)
fi
# Containerized deployments: check running image tags
if command -v docker >/dev/null 2>&1; then
  echo "--- Docker images matching obot ---"
  docker ps --format '{{.Image}}\t{{.Names}}' | grep -i obot || echo "No running obot containers found."
fi
echo "Detected binary version: ${OBOT_VER:-not found via CLI}"

echo "=== [2/4] Version exposure assessment ==="
if [ -n "${OBOT_VER}" ]; then
  MAJOR=$(echo "${OBOT_VER}" | cut -d. -f1)
  MINOR=$(echo "${OBOT_VER}" | cut -d. -f2)
  PATCH=$(echo "${OBOT_VER}" | cut -d. -f3)
  if [ "${MAJOR}" -eq 0 ] && [ "${MINOR}" -ge 21 ] && \
     { [ "${MINOR}" -lt 28 ] || { [ "${MINOR}" -eq 28 ] && [ "${PATCH}" -lt 2 ]; }; }; then
    echo "[VULNERABLE] Obot ${OBOT_VER} is within the affected range (0.21.1 - 0.28.1). UPGRADE TO 0.28.2+ IMMEDIATELY."
  else
    echo "[OK] Version ${OBOT_VER} is outside the documented vulnerable range. Verify against vendor advisory regardless."
  fi
else
  echo "[WARN] Could not determine version automatically. Check your package manager, Helm release, or container tag manually."
fi

echo "=== [3/4] Auditing logs for anonymous-rename and anonymous tool invocation ==="
LOG_PATHS=("/var/log/obot" "/var/log/syslog" "/var/log/messages")
for LP in "${LOG_PATHS[@]}"; do
  if [ -e "${LP}" ]; then
    echo "--- Searching ${LP} ---"
    grep -rEin 'rename.*anonymous|username.*anonymous|"anonymous"' "${LP}" 2>/dev/null | tail -n 50 || true
    echo "--- Anonymous MCP tool calls in ${LP} ---"
    grep -rEin 'tools/(call|list)' "${LP}" 2>/dev/null | grep -i 'anonymous' | tail -n 50 || true
  fi
done
if command -v journalctl >/dev/null 2>&1; then
  echo "--- systemd journal (last 14 days) ---"
  journalctl --since "14 days ago" --no-pager 2>/dev/null | grep -iE 'obot.*anonymous|anonymous.*tools/call' | tail -n 50 || true
fi

echo "=== [4/4] Interim network exposure check ==="
echo "Listing listeners for obot processes — confirm the service is NOT reachable from untrusted networks:"
ss -tlnp 2>/dev/null | grep -i obot || echo "No obot listeners found via ss."

echo ""
echo "DONE. If any anonymous tool-call entries were found, treat as a suspected compromise:"
echo "  1. Isolate the host from the network segment."
echo "  2. Rotate ALL API keys, tokens, and downstream credentials reachable via MCP servers."
echo "  3. Preserve logs and begin scoping which MCP server IDs were invoked and what data was accessed."

Remediation

  1. Upgrade Obot to version 0.28.2 or later immediately. This is the vendor-fixed release that closes the authorization bypass. For containerized deployments, pull the 0.28.2 (or newer) image tag and redeploy; for package/Helm-managed installs, update the pinned version and roll the release. Verify the running version post-upgrade — do not assume the deployment pipeline completed.
  2. Retroactively audit for abuse before and after patching. Patching closes the door but tells you nothing about whether it was already walked through. Search application, proxy, and ingress logs for: (a) account update/rename requests setting a username to anonymous, and (b) MCP tools/call or tools/list activity attributed to the anonymous principal. Any hit warrants a full IR scoping: which server IDs were invoked, which tools were called, and what data or downstream systems were touched.
  3. Rotate credentials on any confirmed or suspected hit. Rotate Obot API keys, session secrets, and — critically — the downstream credentials stored in or reachable through MCP servers (database passwords, SaaS API tokens, cloud keys). Assume any capability exposed via an MCP tool was usable by the attacker.
  4. Enforce network-level restriction as a compensating control. Until patching is complete, restrict network access to the Obot service to known administrative and application subnets via firewall rules, security groups, or ingress allowlists. The vulnerability is network-exploitable; reducing reachability reduces the attack surface even for authenticated low-privilege users.
  5. Block the reserved identity at the edge as a temporary workaround. If immediate upgrade is impossible, add a WAF/reverse-proxy rule rejecting account-update requests whose body sets a username to anonymous (case-insensitive). This is a stopgap only — the definitive fix is the vendor patch.
  6. Audit your MCP server inventory and tool exposure. Use this event to enumerate every MCP server registered in Obot and the capabilities each exposes. Apply least privilege to the tools themselves: a tool that can read production databases should not be reachable by any principal that does not explicitly require it.
  7. Monitor CISA KEV and the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-145654) for updated exploitation status. If KEV listing occurs, federal civilian agencies will face a mandated remediation deadline — and that listing is also your signal that active exploitation is confirmed.

The broader takeaway for security architects: as MCP gateways become the connective tissue of enterprise AI deployments, they inherit the blast radius of every tool they broker. Treat your MCP control plane with the same rigor you apply to identity providers and API gateways — immutable principal identifiers, deny-by-default authorization, comprehensive tool-call audit logging, and network segmentation are table stakes.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.