Skip to main content

Cognition CVE-2026-109437

| EUVDEUVD-2026-104570 CRITICAL
Initialization of a Resource with an Insecure Default (CWE-1188)
2026-10-19 VulnCheck GHSA-c2qr-crjw-844g
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed Cognition REST/SSE API
  2. Delivery
    POST /sessions to create unauthenticated session
  3. Exploit
    POST crafted message driving ReAct loop
  4. Execution
    Agent runs attacker shell commands via local backend
  5. Impact
    Execute arbitrary code as server process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V13 - Configuration Secure default settings
Exploitation Conditions

Exploitation requires a pre-0.13.0 Cognition deployment running in its default configuration, where (1) the agent sandbox backend defaults to local execution and (2) the REST/SSE API ships with no authentication, allowing anonymous POST /sessions and POST /sessions/{id}/messages calls that drive the Deep Agents ReAct loop into shell execution. The primary limiting factor is deployment mode (the AT:P in the CVSS 4.0 vector): operators who placed the API behind an authenticating reverse proxy/network ACL, or who configured a non-local/sandboxed execution backend, are not exposed. No user interaction and no credentials are needed against affected default installations, so any network-reachable default instance is directly exploitable.

Impact

This is a genuine high-priority issue, not a CVSS-inflated paper risk. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) describes fully remote, low-complexity, unauthenticated exploitation with high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H), and the description directly supports this: no authentication on the REST/SSE API plus a default-to-local shell backend yields remote code execution via two unauthenticated POST requests. The one tempering signal is AT:P (attack requirements present), which reflects that exploitation depends on the vulnerable default/deployment mode (local execution backend) rather than being unconditional - consistent with the CWE-1188 insecure-default root cause. A public exploit exists (referenced via Lasso/VulnCheck), which raises near-term risk, but this CVE is NOT in CISA KEV, so there is no confirmed active exploitation - POC availability and in-the-wild exploitation are distinct signals and should not be conflated. No EPSS score was provided, so exploitation-probability cannot be quantified from the input. Net: trivial-to-exploit unauthenticated RCE with public POC on an internet-reachable service warrants urgent patching wherever Cognition is exposed, tempered mainly by the product's limited deployment footprint rather than by any technical barrier.

Exploit ScenarioDerived

An attacker who can reach a pre-0.13.0 Cognition instance's REST/SSE API sends an unauthenticated POST /sessions to create a session, then POST /sessions/{id}/messages with a crafted prompt that steers the Deep Agents ReAct loop into issuing shell commands through the default local backend. Because no credentials are required and complexity is low, the attacker gains code execution as the server process; a public exploit is already available, lowering the skill barrier.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

Unauthenticated remote code execution in Cognition before 0.13.0 lets any network-reachable attacker create a session through POST /sessions and post a message through POST /sessions/{id}/messages, driving the Deep Agents ReAct loop to execute attacker-supplied shell commands via the default local execution backend. Default deployments are exposed because the REST/SSE API ships without authentication and the agent sandbox backend defaults to local execution; publicly available exploit code exists, and the main limiting factor is whether operators placed the API behind an authenticating reverse proxy or configured a non-local sandbox backend. Vendor-released patch: 0.13.0.

RemediationAI

Vendor-released patch: 0.13.0. Upgrade Cognition to 0.13.0 or later from https://github.com/CognicellAI/Cognition/releases/tag/v0.13.0; operators should review the release notes because the fix introduces breaking changes, notably that POST /sessions now requires an explicit agent_name and implicit default Agent provisioning is removed, so automation relying on the former default agent must be updated. If immediate upgrade is not possible, do not expose the REST/SSE API to untrusted networks: place it behind an authenticating reverse proxy or network ACL, recognizing that this adds credential-management overhead and may break existing unauthenticated clients, and configure a non-local or sandboxed execution backend instead of the local shell backend, accepting possible performance and tool-availability trade-offs. The vendor advisory is at https://www.vulncheck.com/advisories/cognition-unauthenticated-rce-via-local-shell-backend and an exploit reference is at https://www.lasso.security/vulnerability-database/cve-2026-109437.

Affected VersionsENISA

Cognition 0 <0.13.0

Affected Packages

euvd cognition fix: 0.13.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cognition is an agent runtime built around LangChain and LangGraph components, including a Deep Agents ReAct loop that can invoke tools and shell commands. The root cause is CWE-1188, insecure default initialization of a resource: pre-0.13.0 releases default the agent sandbox backend to local execution and expose a REST/SSE API without authentication. An attacker can therefore use the session-creation and message-posting endpoints anonymously, causing the ReAct loop to pass attacker-controlled content to the local shell backend and execute commands as the server process. The CVSS 4.0 vector AT:P reflects that exploitation depends on the deployment being in the vulnerable default state, specifically a network-reachable instance that has not been placed behind an authenticating proxy or switched to a sandboxed execution backend. The affected CPE is cpe:2.3:a:cognicellai:cognition:*:*:*:*:*:*:*:*, covering versions before 0.13.0. Version 0.13.0 reworks the runtime into a stricter multi-tenant Agent CRUD model, removes implicit default Agent provisioning, requires an explicit agent_name for POST /sessions, and adds runtime identity and scope primitives that reduce the insecure-default exposure.

Know when Cognition gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Unauthenticated two-request RCE over the network on default config gives AV:N/AC:L/PR:N/UI:N; code execution as the server process yields C/I/A:H with scope unchanged (S:U) as impact stays within the server's authority.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Cognition before 0.13.0 contains an unauthenticated remote code execution vulnerability due to defaulting its agent sandbox backend to local execution and shipping no authentication on its REST/SSE API. Attackers can create a session via POST /sessions and post a message via POST /sessions/{id}/messages without credentials, causing the Deep Agents ReAct loop to run attacker-directed shell commands through the local shell backend, resulting in remote code execution as the server process.

Technical POC Analysis

The bug is CWE-1188, initialization of a resource with an insecure default.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Cognition deployments prior to 0.13.0 carry a critical remote code execution risk that can allow an attacker to run commands on the underlying host, potentially compromising sensitive data and agent operations. Organizations running default API and local sandbox configurations are most exposed, and publicly available exploit code exists. Leadership should prioritize inventorying affected instances, applying the vendor patch, and confirming that any remaining endpoints are protected by an authenticating gateway or isolated sandbox.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 52% exploitable
Prevalence
Low
niche open-source AI agent runtime, limited production deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy