V4: OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search
OpenList v4 before 4.2.4 contains an authorization bypass and information disclosure vulnerability in its search API due to improper path prefix validation and unfiltered backend counting in the Bleve search engine. A low-privileged user can bypass BasePath restrictions to access metadata of files in unauthorized sibling directories and confirm the existence of sensitive files via the total count field. This defeats the intended namespace isolation and allows enumeration of hidden infrastructure and sensitive file metadata.
AI Analysis
Technical Summary
The vulnerability in OpenList's search API arises from two logic flaws when using the Bleve search engine: (1) an insecure path prefix check using strings.HasPrefix without path-separator awareness allows a user restricted to a BasePath (e.g., /base) to access sibling directories with similar prefixes (e.g., /base2), bypassing authorization; (2) the Bleve backend returns a global total count of matching files ignoring the BasePath boundary, enabling blind enumeration of unauthorized files even if metadata access is filtered later. This combination leads to information disclosure and horizontal/vertical privilege escalation by exposing metadata and existence of files outside the user's authorized namespace.
Potential Impact
Any authenticated user with low privileges can bypass BasePath restrictions to discover and access metadata of files in unauthorized directories. They can also confirm the existence of sensitive files through the unfiltered total count returned by the search backend. This compromises confidentiality by leaking file metadata and enables enumeration of hidden infrastructure, defeating the BasePath isolation mechanism.
Mitigation Recommendations
No official patch or fix is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Recommended mitigations include replacing the insecure strings.HasPrefix path check with a separator-aware containment check (e.g., verifying that the target path equals the base path or starts with base path plus a path separator), enforcing path boundaries within the Bleve query itself rather than relying on post-query filtering, and calculating the total count only after applying all authorization and path filters to prevent leakage of unauthorized file existence information.
V4: OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search
Description
OpenList v4 before 4.2.4 contains an authorization bypass and information disclosure vulnerability in its search API due to improper path prefix validation and unfiltered backend counting in the Bleve search engine. A low-privileged user can bypass BasePath restrictions to access metadata of files in unauthorized sibling directories and confirm the existence of sensitive files via the total count field. This defeats the intended namespace isolation and allows enumeration of hidden infrastructure and sensitive file metadata.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in OpenList's search API arises from two logic flaws when using the Bleve search engine: (1) an insecure path prefix check using strings.HasPrefix without path-separator awareness allows a user restricted to a BasePath (e.g., /base) to access sibling directories with similar prefixes (e.g., /base2), bypassing authorization; (2) the Bleve backend returns a global total count of matching files ignoring the BasePath boundary, enabling blind enumeration of unauthorized files even if metadata access is filtered later. This combination leads to information disclosure and horizontal/vertical privilege escalation by exposing metadata and existence of files outside the user's authorized namespace.
Potential Impact
Any authenticated user with low privileges can bypass BasePath restrictions to discover and access metadata of files in unauthorized directories. They can also confirm the existence of sensitive files through the unfiltered total count returned by the search backend. This compromises confidentiality by leaking file metadata and enables enumeration of hidden infrastructure, defeating the BasePath isolation mechanism.
Mitigation Recommendations
No official patch or fix is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Recommended mitigations include replacing the insecure strings.HasPrefix path check with a separator-aware containment check (e.g., verifying that the target path equals the base path or starts with base path plus a path separator), enforcing path boundaries within the Bleve query itself rather than relying on post-query filtering, and calculating the total count only after applying all authorization and path filters to prevent leakage of unauthorized file existence information.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-p6ph-3jx2-3337
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a65421d9c2644c7f8088070
Added to database: 07/25/2026, 23:09:17 UTC
Last enriched: 07/25/2026, 23:50:13 UTC
Last updated: 07/26/2026, 03:45:37 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.