Skip to main content

Blog post · October 20, 2026 · kb.cert.org

Xerj Console API authentication bypass allows successor token creation

Summary

The Xerj Console API contains an authentication bypass that allows sessions to skip passkey-backed requirements during token issuance. Xerj is an open-source search and indexing engine built for AI agents on the Elasticsearch API, and this flaw can be used to create persistent successor credentials.

The vulnerability is tracked as CVE-2026-97406. According to the documented security contract, issuing new API tokens must be strictly authorized by a passkey-backed session. The Xerj implementation, however, converts both standard browser sessions and API bearer tokens into the same generic AuthSession object, and the token creation handler accepts that generalized principal without checking whether it was authenticated with a passkey.

An attacker who obtains or intercepts a valid Xerj API token can directly call the token creation endpoint and create independent successor credentials carrying the same access levels as the original token. The platform also lacks hierarchical revocation logic, so revoking a compromised parent token has no effect on descendant tokens spawned from it.

Exploitation enables persistent, unauthorized access that completely bypasses multi-factor controls. If the compromised token belongs to a Xerj account owner, the successor token retains full administrative authority. The attacker can use that access to issue a new account invitation, redeem it in their own browser, and enroll an independent, attacker-controlled passkey, which grants permanent control over the Xerj instance and its sensitive data indices. Revoking the initial token is rendered ineffective in this scenario.

The vendor could not be reached to coordinate this vulnerability, and an official patch had not been made available at the time of writing. Users are advised to monitor the project's GitHub repository for updates and to install the latest version of the library once a fix has been released.

The reporter, Shiran Guez, a Principal Application Security Architect, is credited. This document was written by Laurie Tyzenhaus.

Our summary. The original keeps its own byline.

Read the original on kb.cert.org

Companies in this article

Topics