Skip to main content

ag-ui-adk CVE-2026-145258

| EUVDEUVD-2026-144575 HIGH
Missing Authentication for Critical Function (CWE-306)
2026-12-04 VulnCheck
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Identify ag-ui-adk deployment exposing /agents/state
  2. Delivery
    Obtain valid threadId, appName, userId
  3. Exploit
    Send crafted POST to /agents/state
  4. Execution
    Route skips unapplied auth dependency
  5. Impact
    Read session state and conversation history

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a deployment that registers the endpoint via add_adk_fastapi_endpoint() (or create_adk_app()) and relies on the dependencies argument as its authentication control, while having NO application-wide authentication middleware, NO static identity configured on the agent, NO agent-level request identity extractor, and NO extract_state_from_request hook that supplies identity - in that configuration the state route takes appName and userId directly from the request body. The attacker must additionally know a valid existing session's threadId, appName and userId (the advisory does not assume these can be enumerated), which is the primary factor limiting exploitation. Any of the above identity/guard mechanisms, or upgrading to 0.14.0, closes the path. Impact is bounded to reading session state and message history; the route does not demonstrate session modification, code execution, or access to sessions whose identifiers are unknown.

Impact

Signals point to a real but conditional confidentiality issue rather than a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N, VC:H) scores 8.2 and correctly captures the key tension: the /agents/state route is reachable over the network with no authentication (PR:N) because caller-supplied route dependencies are never applied to it, yet AC:H and AT:P reflect a genuine precondition - the attacker must already know a valid threadId, appName and userId for an existing session, and the advisory explicitly states it does not assume unrelated sessions can be enumerated without those values. KEV is not listed in the input, so this is not confirmed actively exploited; EPSS is not provided and cannot be cited. A public PoC reference exists in the GHSA advisory, but it is a locally controlled reproducer with a seeded session fixture and is not verified as working exploit code against a live service - do not conflate it with active exploitation. The vuln.today decision label is this_week, consistent with a high-severity, patched information-disclosure flaw that warrants prompt but not emergency remediation. The dominant caveat is scope: exploitation only affects deployments that rely on the helper's dependencies argument as their sole authentication control and lack an application-wide auth middleware, static identity, agent-level identity extractor, or extract_state_from_request hook - environments with any of those are not exposed via this path.

Exploit ScenarioDerived

An application protects its ADK agent run route with dependencies=[Depends(require_auth)] via add_adk_fastapi_endpoint() but installs no application-wide auth guard or identity extractor, leaving POST /agents/state unauthenticated. An attacker who has learned a victim's threadId, appName and userId (for example the default thread_user_<threadId> mapping) sends those values in a request body and receives HTTP 200 with the session's stored state and full conversation history. A public PoC reference exists demonstrating this against a locally seeded session; it is not verified as working exploit code against a live service.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 04, 2026

ag-ui-adk 0.8.0 through 0.13.0 ships a helper, add_adk_fastapi_endpoint() (also create_adk_app()), that forwards the caller-supplied FastAPI dependencies to the agent run route but registers POST /agents/state without them, so deployments that use that dependencies argument as their only authentication control expose an unauthenticated route that returns a session's stored state and conversation history. An unauthenticated remote attacker who already knows a valid threadId, appName and userId triple can read that session's state and messages; because there is no application-wide guard, static identity, agent-level identity extractor or extract_state_from_request hook in the affected configuration, the appName and userId values are accepted straight from the request body. Impact is limited to confidentiality - the advisory demonstrates no session modification, command execution, or enumeration of unknown sessions - and exploitation requires the deployment to rely on helper-level dependencies alone plus knowledge of the target session identifiers, which is the main limiting factor. No CISA KEV entry exists and no confirmed working exploit code is known; a public PoC reference (a curl reproducer against a locally configured app) is included in the advisory, but it is not verified as working exploit code.

RemediationAI

Vendor-released patch: upgrade ag-ui-adk to 0.14.0 or later (https://pypi.org/project/ag-ui-adk/0.14.0/), which applies the route dependencies to /agents/state and /capabilities as well as the agent route (upstream commit https://github.com/ag-ui-protocol/ag-ui/commit/fae27bb672588623b932d5b5600a502689897753, advisory https://github.com/ag-ui-protocol/ag-ui/security/advisories/GHSA-jhvp-j8pf-5vh5). If upgrading cannot be done immediately, close the gap at the application layer as the advisory describes: install an application-wide authentication middleware that guards every route, or configure a request identity extractor that authenticates the caller and supplies app_name/user_id so the body-supplied values are not trusted - note that each of these changes the identity model for all routes and must be validated against existing agent-level identity settings. Deployments that instead configure a static identity on the agent or an extract_state_from_request hook supplying the identity are not on the unauthenticated fallback path, but updating to 0.14.0 remains the complete fix since only the patched helper applies dependencies to /capabilities and /agents/state automatically.

Affected VersionsENISA

ag-ui-adk 0.8.0 <0.14.0

Affected Packages

euvd ag_ui_adk fix: 0.14.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

The flaw is CWE-306 (missing authentication for a critical function), flagged additionally as CWE-862 (missing authorization), in the Python ag_ui_adk ADK middleware (pip package ag-ui-adk, CPE cpe:2.3:a:ag-ui-protocol:ag-ui-adk). In integrations/adk-middleware/python/src/ag_ui_adk/endpoint.py, the agent route is registered as @app.post(path, **kwargs), so any FastAPI dependencies=[Depends(require_auth)] passed by the application protects it, while the state route was registered as a bare @app.post("/agents/state") and the capabilities route as @app.get(capabilities_path), neither inheriting those dependencies. The library's own documentation said extra keyword arguments apply to the agent route only, and a regression test (test_dependencies_guard_the_agent_route_only) asserted that /agents/state ended up with an empty dependency list, confirming the divergence was by design rather than accident. When no static identity, agent-level identity extractor, extract_state_from_request hook or application-wide middleware is configured, agents_state_endpoint() falls back to taking appName and userId directly from the request body, combines them with threadId and calls agent._session_manager.resolve_existing_session(); the matched session's data is then read via get_session_state() and converted to messages with adk_events_to_messages(), and the response returns state and messages (plus threadExists). The 0.6.2 change that made the route run extract_state_from_request addressed a different mechanism and does not substitute for FastAPI route dependencies. The 0.14.0 fix builds a guard_kwargs dict containing only dependencies and applies it to /capabilities and /agents/state while leaving identity kwargs such as name and operation_id on the agent route.

Know when Ag Ui Adk 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 8.2 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because the attacker must know a valid existing threadId/appName/userId; only confidentiality of session state is impacted, so I/A:N.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

ag-ui-adk 0.8.0 before 0.14.0 contains a missing authentication vulnerability because add_adk_fastapi_endpoint() does not apply caller-supplied route dependencies to the POST /agents/state route. Unauthenticated remote attackers who know threadId, appName and userId values can request the route to read existing ADK session state and conversation history.

Technical POC Analysis

CWE-306 (Missing Authentication for Critical Function), with the advisory also tagging CWE-862.

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

The ag-ui-adk library versions 0.8.0 through 0.13.0 contain an authentication bypass in its FastAPI endpoint helper, allowing unauthenticated parties to read session state and conversation history if they know a valid threadId, appName, and userId. This directly exposes sensitive conversation data for any deployment relying solely on the helper's authentication mechanism, affecting confidentiality of user interactions and potentially violating data privacy obligations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Low
niche Python middleware package for the AG-UI/ADK protocol
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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