CVE-2026-145258 in ag-ui-adkinfo

Summary

by MITRE • 12/04/2026

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.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 12/04/2026

The ag-ui-adk library versions prior to 0.14.0 contain a critical missing authentication vulnerability within its FastAPI integration layer. This flaw stems from an implementation error in the add_adk_fastapi_endpoint function, which is responsible for registering application endpoints with the underlying web framework. Specifically, when configuring the POST /agents/state route, the library fails to propagate caller-supplied route dependencies that are intended to enforce authentication or authorization checks. As a result, this specific endpoint remains exposed without any form of access control, creating an unauthenticated entry point into the agent's operational state.

From a technical perspective, the vulnerability arises because the framework allows developers to inject middleware and dependency injection functions for security validation, but the internal logic handling the /agents/state route ignores these configurations. This oversight means that while other routes might be properly secured through injected dependencies, this particular endpoint operates in an open state. An attacker who has knowledge of specific contextual identifiers such as threadId, appName, and userId can directly interact with this unprotected interface. These parameters are often predictable or discoverable through standard application behavior, allowing the adversary to construct valid requests without needing prior authentication credentials.

The operational impact of this vulnerability is significant for any system relying on ag-ui-adk for managing agent sessions. Since the endpoint exposes existing ADK session state and conversation history, an unauthenticated attacker can perform information disclosure attacks. By querying the /agents/state route with known identifiers, the adversary can retrieve sensitive data associated with active or past conversations. This may include private user inputs, system prompts, internal logic details, or other confidential information processed by the agent during its operation. The ability to read this state effectively compromises the confidentiality of the interaction and could facilitate further attacks such as session hijacking or context poisoning if write capabilities are also exposed in related endpoints.

This vulnerability aligns with CWE-306, which describes a missing authentication for critical function, where an action is executed without proper verification of identity. It also maps to MITRE ATT&CK technique T1505.003, specifically Server Software Component: Web Framework, as the flaw exists within the framework's endpoint registration logic rather than custom application code alone. The attack vector falls under T1078 Valid Accounts if the attacker uses known identifiers that imply some level of system knowledge, or more broadly under reconnaissance activities where the goal is to gather information about running services and their exposed data structures.

To mitigate this risk, developers must upgrade ag-ui-adk to version 0.14.0 or later, where the issue with route dependency propagation has been addressed. For systems that cannot immediately update due to compatibility constraints, a temporary workaround involves manually applying authentication middleware directly to the /agents/state endpoint after registration. This ensures that every request is validated against an identity provider before state data is returned. Additionally, organizations should audit their FastAPI applications for similar patterns where route dependencies might be inadvertently ignored during dynamic endpoint creation. Implementing strict input validation and ensuring all sensitive endpoints are covered by centralized authentication guards can further reduce the attack surface associated with such framework-level oversights.

Responsible

VulnCheck

Reservation

12/04/2026

Disclosure

12/04/2026

Moderation

accepted

CPE

ready

EPSS

0.01124

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!