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-102663 Overview
CVE-2026-102663 is an information disclosure vulnerability in OpenList, a file list program that supports multiple storage backends. Versions prior to 4.2.4 implement an authorization check in the search API using strings.HasPrefix to compare an indexed node's parent path against a restricted user's BasePath. Because the comparison is not separator-aware, a sibling path such as /base2 passes the containment check against /base. An authenticated, restricted user searching the global Bleve index can enumerate file metadata and existence information in sibling directories outside their authorized scope. The issue is tracked as [CWE-200] and fixed in OpenList 4.2.4.
Critical Impact
Authenticated users with restricted BasePath scope can disclose file metadata and existence information from sibling directories when Bleve search is enabled.
Affected Products
- OpenList versions prior to 4.2.4
- Deployments with Bleve search index enabled
- Multi-tenant OpenList instances using per-user BasePath restrictions
Discovery Timeline
- 2026-10-12 - CVE-2026-102663 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-102663
Vulnerability Analysis
The flaw resides in OpenList's search authorization logic. When Bleve search is enabled, the server queries a globally indexed set of nodes and then attempts to filter results per user by verifying each result's parent path is contained within the user's authorized BasePath. The containment check uses strings.HasPrefix(node.Parent, user.BasePath) without appending a path separator or using a dedicated subpath helper. As a result, /base2 is treated as a prefix match against /base, allowing results from unrelated sibling directories to pass the authorization gate.
Two observable effects follow. First, individual result objects for sibling paths may be returned, exposing file names and metadata. Second, the backend Total counter reflects matches even when a secondary access control strips the specific result object, revealing existence information through the aggregate count.
Root Cause
The root cause is an incorrect string comparison used as a path containment check. strings.HasPrefix operates on raw bytes and has no awareness of path separators. Path authorization requires either a trailing-separator normalization (user.BasePath + "/") or a dedicated helper such as utils.IsSubPath that validates component boundaries. The patch introduces both a corrected containment helper and pre-pagination filtering so unauthorized results are removed before Total is computed.
Attack Vector
An attacker needs an authenticated OpenList account with a restricted BasePath on a server where Bleve search is enabled. The attacker submits search queries through the standard search API endpoint. Results indexed under sibling paths that share a textual prefix with the attacker's BasePath are returned or counted. No user interaction and no additional privileges are required beyond a valid low-privilege session.
// Patch excerpt: internal/op/sharing.go
// fix(sharing): enforce base path boundaries
if sharing.Creator != nil && !sharing.Creator.IsAdmin() {
for _, f := range sharing.Files {
if !utils.IsSubPath(sharing.Creator.BasePath, f) {
return "", errors.Errorf("sharing path [%s] is outside the creator's base path", f)
}
}
}
Source: GitHub Commit 59bd343
// Patch excerpt: internal/search/search.go
// fix(search): apply access filtering before paginating results
const searchBatchSize = 1000
func SearchFiltered(ctx context.Context, req model.SearchReq, filter searcher.Filter) ([]model.SearchNode, int64, error) {
if filteredSearcher, ok := instance.(searcher.FilteredSearcher); ok {
return filteredSearcher.SearchFiltered(ctx, req, filter)
}
batchReq := req
batchReq.Page = 1
batchReq.PerPage = searchBatchSize
from := int64(req.Page-1) * int64(req.PerPage)
to := from + int64(req.PerPage)
// ... iterate and apply filter before counting Total
}
Source: GitHub Commit 84ecda3
Detection Methods for CVE-2026-102663
Indicators of Compromise
- Search API requests from low-privilege accounts returning or counting results whose parent paths lie outside the user's configured BasePath.
- Unusual volume of search queries from a single authenticated user targeting broad or empty keywords to enumerate the global index.
- Discrepancies between returned result arrays and the Total field in search responses, indicating secondary filtering that still leaks existence through counts.
Detection Strategies
- Audit OpenList access logs for /search endpoint calls and cross-reference the authenticated user's BasePath with the paths of returned nodes.
- Deploy a proxy or application-layer rule that flags search responses in which node.Parent does not share a separator-terminated prefix with the requesting user's BasePath.
- Review Bleve index contents against the configured per-user access scopes to identify over-indexed material.
Monitoring Recommendations
- Enable verbose logging on OpenList search handlers and ship logs to a centralized SIEM for correlation with user identity and BasePath metadata.
- Alert on authenticated users issuing high-cardinality or wildcard search queries that return cross-tenant metadata.
- Monitor OpenList release channels and GitHub security advisories for follow-up fixes related to GHSA-p6ph-3jx2-3337.
How to Mitigate CVE-2026-102663
Immediate Actions Required
- Upgrade OpenList to version 4.2.4 or later, which replaces the prefix check with utils.IsSubPath and applies access filtering before pagination.
- If immediate upgrade is not possible, disable the Bleve search backend until the patched version is deployed.
- Review user accounts and tighten BasePath assignments so sibling directories do not share textual prefixes (for example, avoid /base and /base2 at the same level).
Patch Information
The fix is delivered in OpenList Release v4.2.4. The relevant commits are 59bd343, which enforces base path boundaries in sharing logic, and 84ecda3, which applies access filtering before paginating search results. See GHSA-p6ph-3jx2-3337 for the full advisory.
Workarounds
- Disable the global Bleve search index for environments with multi-tenant restricted users.
- Rename user BasePath directories so no two authorized scopes share a non-separator-terminated prefix.
- Restrict the search API endpoint to administrative accounts via reverse proxy or application gateway rules until the patch is applied.
# Upgrade OpenList to the patched release
docker pull openlistteam/openlist:v4.2.4
docker stop openlist && docker rm openlist
docker run -d --name openlist \
-v /path/to/openlist/data:/opt/openlist/data \
-p 5244:5244 \
openlistteam/openlist:v4.2.4
# Verify the running version
curl -s http://localhost:5244/api/public/settings | grep -i version
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

