CVE-2026-145651 in Obot
Summary
by MITRE • 12/06/2026
Obot before 0.28.2 contains a cross-site request forgery vulnerability that allows same-site attackers to perform actions as signed-in users by abusing session or bootstrap cookies without origin checks. Attackers on sibling subdomains can send text/plain POST requests without CORS preflight to create local admin accounts, add malicious MCP servers, or redirect model providers.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 12/06/2026
The vulnerability identified in Obot prior to version 0.28.2 represents a critical failure in session management and origin validation mechanisms, specifically classified under the Cross-Site Request Forgery (CSRF) category with significant implications for application integrity. This flaw stems from the absence of strict origin checks when processing requests that utilize session or bootstrap cookies. In standard web security models, browsers enforce Same-Origin Policy to prevent malicious sites from reading data from other origins, but CSRF attacks exploit the trust a site has in a user's browser by tricking it into sending authenticated requests without the user's explicit consent. The specific nature of this vulnerability allows attackers operating on sibling subdomains to bypass traditional CORS preflight checks for text/plain POST requests, thereby enabling them to execute state-changing actions as if they were legitimate users who are currently signed in.
From a technical perspective, the core issue lies in how the application validates the source of incoming HTTP requests. By failing to verify that the Origin header matches an expected domain or by not implementing robust anti-CSRF tokens for critical endpoints, Obot inadvertently trusts any request originating from its own parent domain structure. This is particularly dangerous because sibling subdomains share the same top-level domain and often have overlapping cookie scopes depending on configuration settings like the Domain attribute of cookies. An attacker controlling a malicious sibling subdomain can craft a simple HTML page or script that automatically submits POST requests with content type text/plain to vulnerable endpoints within Obot. Since these requests do not trigger CORS preflight checks for certain content types, they are sent directly by the browser carrying the user's authentication credentials, effectively bypassing modern browser security features designed to isolate different origins.
The operational impact of this vulnerability is severe due to the high-privilege actions that can be performed remotely without user interaction. Attackers with access to a sibling subdomain can create new local administrator accounts, thereby gaining persistent and elevated control over the Obot instance. This level of access allows for complete compromise of the application's security posture. Furthermore, attackers can inject malicious Model Context Protocol (MCP) servers into the configuration. MCP is often used in AI applications to define how models interact with external tools or data sources; by adding a malicious server, an attacker can manipulate the behavior of connected AI models, potentially leading to data exfiltration, prompt injection attacks, or unauthorized execution of code on backend systems associated with those model providers. Additionally, the ability to redirect model providers means attackers can reroute API calls to their own infrastructure, facilitating further exploitation such as credential harvesting from users interacting with compromised endpoints.
This vulnerability aligns closely with CWE-352, which describes Cross-Site Request Forgery, and specifically highlights the failure in validating request origins (CWE-942). In terms of offensive security frameworks, this attack vector maps to MITRE ATT&CK technique T1078, Valid Accounts, as it involves abusing existing session credentials. It also relates to T1556, Modifying Authentication Process, through the creation of new admin accounts and modification of authentication-related configurations like MCP server definitions. The exploitation relies on social engineering or automated scripts leveraging trusted browser contexts, which falls under common web attack patterns involving cookie manipulation and header spoofing within constrained network environments.
To mitigate this vulnerability, immediate updates to Obot version 0.28.2 or later are required as they address the underlying session validation logic. In addition to upgrading, administrators should implement strict Origin checking on all state-changing endpoints, ensuring that only requests from explicitly whitelisted domains are accepted. Implementing anti-CSRF tokens for every form submission and API call is essential to verify user intent independently of cookies. Furthermore, configuring cookie attributes such as SameSite=Strict or Lax can prevent browsers from sending session cookies in cross-site contexts, although this must be balanced against legitimate multi-subdomain use cases which may require careful domain scoping adjustments. Regular security audits focusing on authentication flows and third-party integrations like MCP servers will help identify similar misconfigurations before they can be exploited by adversaries seeking to gain unauthorized administrative access or manipulate AI model behaviors.