Skip to main content
Vulnerability Database/CVE-2026-111692

CVE-2026-111692: DataBuff ai-apm-web Auth Bypass Vulnerability

CVE-2026-111692 is an authentication bypass flaw in DataBuff ai-apm-web that lets attackers forge admin tokens using a hardcoded secret to gain full administrative access. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-111692 Overview

CVE-2026-111692 is an authentication bypass vulnerability in DataBuff ai-apm-web through version 0.1.10. The flaw stems from a hardcoded HMAC secret in the JwtTokenService component. Unauthenticated attackers can forge valid admin JSON Web Tokens (JWTs) by signing a payload containing the admin subject and a future expiry using the known dev-secret value. Successful exploitation grants full administrative access to protected /webapi routes, including the Doris SQL query API. The weakness is tracked as [CWE-321: Use of Hard-coded Cryptographic Key].

Critical Impact

Remote, unauthenticated attackers can forge admin session tokens and gain full administrative control over ai-apm-web, including access to the Doris SQL query API.

Affected Products

  • DataBuff ai-apm-web through version 0.1.10
  • Deployments relying on the default JwtProperties configuration shipped in application.yml
  • Any instance using the shipped dev-secret HMAC signing key

Discovery Timeline

  • 2026-10-16 - CVE-2026-111692 published to the National Vulnerability Database (NVD)
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111692

Vulnerability Analysis

The ai-apm-web component implements session authentication through JWTs issued and validated by JwtTokenService. The signing key is loaded from JwtProperties, which defaults to the string dev-secret as defined in the shipped application.yml. Because this secret ships in the public source repository, any attacker can retrieve it and sign arbitrary tokens that the server will accept as valid.

An attacker constructs a JWT with a sub claim of admin and an exp claim set to a future timestamp, then signs it with HMAC-SHA256 using dev-secret. The server verifies the signature using the same key, treats the request as an authenticated administrator, and grants access to protected /webapi endpoints. Among the exposed capabilities is the Doris SQL query API, which can be used to read, modify, or exfiltrate backend data.

Root Cause

The root cause is a hard-coded cryptographic key [CWE-321] committed to source control. The JwtProperties configuration class and application.yml both reference a static default secret rather than requiring an operator-supplied value or generating one at runtime. No startup validation rejects the known default.

Attack Vector

Exploitation requires only network access to the ai-apm-web HTTP interface. No prior credentials, user interaction, or elevated privileges are needed. The attacker generates a signed JWT off-system and submits it in the Authorization header to any protected /webapi route. The technical mechanics of token forgery against the vulnerable JwtTokenService are documented in the HackMD JWT Secret Bypass Post and the VulnCheck Advisory on Auth Bypass.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-111692

Indicators of Compromise

  • Successful requests to /webapi routes bearing JWTs signed with the dev-secret key.
  • Unexpected Doris SQL queries originating from the ai-apm-web service account.
  • Admin-level actions performed without a corresponding interactive login event in application logs.
  • JWTs where the sub claim is admin but the issuing IP has no prior authentication history.

Detection Strategies

  • Inspect the active jwt.secret value at runtime and alert when it matches the shipped default dev-secret.
  • Decode JWTs presented to ai-apm-web and verify the kid or signing key is operator-generated, not the committed default.
  • Correlate /webapi administrative calls with authentication events to identify tokens issued outside the normal login flow.

Monitoring Recommendations

  • Forward ai-apm-web access logs to a centralized analytics platform and baseline normal /webapi usage.
  • Monitor Doris query logs for unusual SELECT, INSERT, or administrative statements executed via the web API.
  • Alert on repeated requests presenting different JWT payloads from a single source IP within short time windows.

How to Mitigate CVE-2026-111692

Immediate Actions Required

  • Replace the default jwt.secret value in application.yml with a high-entropy, operator-generated secret before exposing the service.
  • Restrict network access to ai-apm-web so that only trusted clients can reach /webapi routes while remediation is in progress.
  • Invalidate all existing JWTs by rotating the signing key, forcing re-authentication for all sessions.
  • Audit Doris SQL query logs for unauthorized activity dating back to initial deployment.

Patch Information

No fixed version is identified in the NVD record at publication time. The vulnerability is described as present in DataBuff ai-apm-web through 0.1.10. Operators should monitor the DataBuff GitHub repository for an updated release and review the vulnerable code in JwtTokenService.java and JwtProperties.java.

Workarounds

  • Override jwt.secret through an environment variable or external secrets manager so the compiled default is never used.
  • Place ai-apm-web behind a reverse proxy that enforces mutual TLS or an additional authentication layer on /webapi.
  • Add a startup check that aborts the service if the configured jwt.secret equals dev-secret or any known weak value.
  • Rotate the HMAC signing key on a defined schedule and after any suspected compromise.
bash
# Configuration example: override the default JWT secret at runtime
export JWT_SECRET="$(openssl rand -base64 48)"

# In application.yml, reference the environment variable instead of a literal:
# jwt:
#   secret: ${JWT_SECRET}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.