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

CVE-2026-111706: 99AI Authentication Bypass Vulnerability

CVE-2026-111706 is an authentication bypass flaw in 99AI that allows unauthenticated attackers to export all users chat logs without authorization. This post explains its technical details, affected versions, impact, 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-111706 Overview

CVE-2026-111706 is a missing authentication vulnerability [CWE-306] affecting 99AI through version 4.3.0. The flaw resides in the POST /api/chatLog/exportExcel route, which fails to enforce authentication before processing export requests. Unauthenticated remote attackers can submit crafted requests containing page, size, and optional email parameters to download .xlsx files containing every user's conversation history. Exported data includes usernames, email addresses, user prompts, and AI-generated responses. The exposure enables large-scale harvesting of private conversations and personally identifiable information from affected deployments.

Critical Impact

Unauthenticated attackers can export all users' chat logs, including usernames, emails, prompts, and AI responses, from any internet-exposed 99AI instance running version 4.3.0 or earlier.

Affected Products

  • 99AI versions through 4.3.0
  • chatLog.controller.ts export endpoint
  • chatLog.service.ts export logic

Discovery Timeline

  • 2026-10-16 - CVE-2026-111706 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111706

Vulnerability Analysis

The vulnerability stems from a missing authentication guard on the Excel export route in 99AI's chat log module. The controller method defined in chatLog.controller.ts at lines 47-52 accepts POST /api/chatLog/exportExcel requests without applying an authentication decorator or session check. The downstream service in chatLog.service.ts at lines 104-155 then queries chat log records using attacker-supplied page, size, and email parameters and serializes the results into an xlsx workbook. Because no identity is enforced, any requester can specify arbitrary pagination to iterate across the entire dataset. The exported workbook includes usernames, email addresses, submitted prompts, and AI responses, exposing sensitive conversational content and PII.

Root Cause

The root cause is a missing authentication control [CWE-306] on a high-impact administrative endpoint. The export route lacks the authentication guard applied to other authenticated routes in the application. There is also no authorization check tying the request to the owner of the requested data, enabling bulk disclosure.

Attack Vector

Exploitation requires only network access to the application's HTTP interface. An attacker sends a POST request to /api/chatLog/exportExcel with JSON parameters controlling pagination and, optionally, a target email filter. The server responds with an xlsx file containing all matching chat log records. No credentials, user interaction, or prior access are required.

Technical details and proof-of-concept analysis are available in the HackMD Analysis of 99AI Vulnerability and the VulnCheck Advisory. The vulnerable source is published in the GitHub ChatLog Controller Code and GitHub ChatLog Service Code.

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-111706

Indicators of Compromise

  • Unauthenticated POST requests to /api/chatLog/exportExcel in web server or reverse proxy logs.
  • HTTP responses from the export endpoint with Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet and sizable payloads.
  • Repeated requests to the export endpoint with incrementing page values indicating dataset enumeration.
  • Requests to the endpoint originating from source IPs not associated with administrative users.

Detection Strategies

  • Review access logs for any request to /api/chatLog/exportExcel lacking an authenticated session cookie or bearer token.
  • Alert on outbound xlsx responses exceeding size thresholds served from the chat log module.
  • Baseline normal export activity and flag unexpected spikes in request volume or unique source addresses hitting the endpoint.

Monitoring Recommendations

  • Forward reverse proxy and application logs into a centralized analytics platform for correlation across time windows.
  • Instrument the application to log the authenticated principal for every chat log API call and alert when the principal is missing.
  • Monitor egress traffic from the 99AI host for anomalous data volumes consistent with bulk exfiltration.

How to Mitigate CVE-2026-111706

Immediate Actions Required

  • Block POST /api/chatLog/exportExcel at an upstream reverse proxy or WAF until the application is patched.
  • Restrict network exposure of 99AI to trusted administrators via IP allowlisting or VPN.
  • Audit prior access logs for unauthenticated requests to the export endpoint and treat any hits as a confirmed data disclosure.
  • Rotate credentials and notify users if chat log contents are considered sensitive.

Patch Information

At the time of publication, no fixed version has been identified in the NVD record. Monitor the GitHub Repository for 99AI and the VulnCheck Advisory on 99AI for a maintainer-supplied fix. When released, upgrade from 4.3.0 or earlier to the patched release and verify that the export route rejects unauthenticated requests.

Workarounds

  • Deploy a reverse proxy rule denying all requests to /api/chatLog/exportExcel from untrusted sources.
  • Add an authentication middleware or guard to the export route in a local fork of the controller.
  • Disable the Excel export functionality entirely if it is not required by administrators.
bash
# Example NGINX location block to block the vulnerable endpoint
location = /api/chatLog/exportExcel {
    deny all;
    return 403;
}

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.