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

CVE-2026-111363: BISHENG Information Disclosure Vulnerability

CVE-2026-111363 is an information disclosure flaw in BISHENG allowing authenticated users to access other users' documents. 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-111363 Overview

CVE-2026-111363 is an Insecure Direct Object Reference (IDOR) vulnerability in BISHENG through version 3.0.0-beta4. The flaw resides in the GET /api/v1/knowledge/file_bbox endpoint, which fails to verify that the requested file_id belongs to the authenticated user or tenant. Any authenticated low-privileged user can enumerate sequential file_id values to retrieve parsed page text from other users' and tenants' knowledge bases. The vulnerability is tracked under CWE-639: Authorization Bypass Through User-Controlled Key.

Critical Impact

Authenticated attackers can read extracted document content across tenant boundaries, exposing proprietary knowledge-base data without triggering privilege checks.

Affected Products

  • BISHENG (DataElement) all releases through 3.0.0-beta4
  • Deployments exposing the /api/v1/knowledge/file_bbox REST endpoint
  • Multi-tenant BISHENG instances serving separate user knowledge bases

Discovery Timeline

  • 2026-10-15 - CVE-2026-111363 published to the National Vulnerability Database
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111363

Vulnerability Analysis

BISHENG is an open-source large language model (LLM) application development platform that ingests documents into tenant-scoped knowledge bases. Each uploaded file is parsed, chunked, and assigned a numeric file_id. The file_bbox endpoint returns the bounding-box annotated text extracted from a given file, intended to let the uploader review parsing results. The authorization logic checks that the caller is authenticated but does not confirm that the caller owns the requested file_id. This gap collapses the tenant boundary enforced elsewhere in the application.

Root Cause

The handler in src/backend/bisheng/knowledge/api/endpoints/knowledge.py accepts a user-supplied file_id and forwards it directly to the service layer in knowledge_service.py. Neither layer joins on the caller's user_id or tenant_id before loading the parsed artifact. Because file_id values are issued as sequential integers, an attacker can iterate the full identifier space and dereference records belonging to any tenant on the instance.

Attack Vector

Exploitation requires only a valid low-privilege account on the target BISHENG deployment. The attacker issues repeated GET /api/v1/knowledge/file_bbox?file_id=N requests, incrementing N across the expected range. Each successful response returns the extracted page text for that file, including documents uploaded by other tenants. The attack is network-reachable, requires no user interaction, and leaves standard application access logs that look like legitimate browsing. See the HackMD IDOR Exploit Analysis and the VulnCheck Advisory on IDOR for request-level detail.

// No verified exploit code published. Refer to the HackMD write-up and VulnCheck advisory
// linked above for the full request/response flow and parameter enumeration pattern.

Detection Methods for CVE-2026-111363

Indicators of Compromise

  • Bursts of sequential GET /api/v1/knowledge/file_bbox?file_id= requests from a single session or API token.
  • Successful 200 OK responses on file_bbox for file_id values the caller never uploaded.
  • Access to the file_bbox endpoint from accounts that have never created a knowledge base.

Detection Strategies

  • Correlate the authenticated user_id on each file_bbox request against the owner recorded for the returned file_id and alert on mismatches.
  • Baseline per-user request rates to /api/v1/knowledge/ endpoints and flag deviations consistent with ID enumeration.
  • Review audit logs for cross-tenant data reads originating from non-administrative roles.

Monitoring Recommendations

  • Ship BISHENG application and reverse-proxy logs to a central analytics platform for retention and query.
  • Add a web application firewall (WAF) rule to rate-limit requests to /api/v1/knowledge/file_bbox per session.
  • Monitor outbound traffic volumes from BISHENG hosts for signs of bulk extraction following enumeration.

How to Mitigate CVE-2026-111363

Immediate Actions Required

  • Restrict network access to the BISHENG API to trusted users while a fix is applied.
  • Rotate credentials for any low-privilege account that may have been abused and audit file_bbox access history.
  • Disable or reverse-proxy-block the /api/v1/knowledge/file_bbox endpoint if a patched release is not yet deployable.

Patch Information

At publication time the vendor advisory lists all versions through 3.0.0-beta4 as affected. Monitor the GitHub Bisheng Repository for a release that adds ownership validation to the file_bbox handler and service method identified in the Knowledge API Code Review and Knowledge Service Code Review references.

Workarounds

  • Add a reverse-proxy policy that rewrites or blocks /api/v1/knowledge/file_bbox for non-administrative roles.
  • Introduce a server-side authorization check that joins file_id against the caller's user_id and tenant_id before returning parsed content.
  • Replace sequential integer file_id values with unguessable identifiers such as UUIDv4 to raise the enumeration cost.
bash
# Example NGINX snippet to block the vulnerable endpoint pending a patch
location = /api/v1/knowledge/file_bbox {
    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.