CVE-2026-102663
OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search
OpenList is a file list program that supports multiple storage backends. Prior to 4.2.4, the OpenList search API uses a non-separator-aware strings.HasPrefix comparison as a path containment authorization check when authorizing globally indexed Bleve results against a restricted user's BasePath. When Bleve search is enabled and a restricted authenticated user searches the global index for content in a sibling path, the user causes a globally indexed sibling-path result to pass the prefix check. The strings.HasPrefix(node.Parent, user.BasePath) predicate allows a sibling path such as /base2 to be treated as contained by /base. Unauthorized file metadata or file-existence information can be disclosed, and the backend Total value can reveal a match even when another access check removes the individual result. This issue is fixed in version 4.2.4.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.3
OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search
OpenList is a file list program that supports multiple storage backends. Prior to 4.2.4, the OpenList search API uses a non-separator-aware strings.HasPrefix comparison as a path containment authorization check when authorizing globally indexed Bleve results against a restricted user's BasePath. When Bleve search is enabled and a restricted authenticated user searches the global index for content in a sibling path, the user causes a globally indexed sibling-path result to pass the prefix check. The strings.HasPrefix(node.Parent, user.BasePath) predicate allows a sibling path such as /base2 to be treated as contained by /base. Unauthorized file metadata or file-existence information can be disclosed, and the backend Total value can reveal a match even when another access check removes the individual result. This issue is fixed in version 4.2.4.
- Record
CVE-2026-102663- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200, CWE-639
- Updated
- 2026-11-02
EUVDEUVD-2026-97775
4.3
OpenList is a file list program that supports multiple storage backends. Prior to 4.2.4, the OpenList search API uses a non-separator-aware strings.HasPrefix comparison as a path containment authorization check when authorizing globally indexed Bleve results against a restricted user's BasePath. When Bleve search is enabled and a restricted authenticated user searches the global index for content in a sibling path, the user causes a globally indexed sibling-path result to pass the prefix check. The strings.HasPrefix(node.Parent, user.BasePath) predicate allows a sibling path such as /base2 to be treated as contained by /base. Unauthorized file metadata or file-existence information can be disclosed, and the backend Total value can reveal a match even when another access check removes the individual result. This issue is fixed in version 4.2.4.
- Record
EUVD-2026-97775- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-p6ph-3jx2-3337
4.3
OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search
Summary
An authorization bypass and information disclosure vulnerability exists in the search API of Openlist. Due to a non-separator-aware path check and unfiltered backend counting, a low-privileged user can bypass their assigned BasePath restrictions to discover and access metadata of files residing in unauthorized sibling directories.
Details
This vulnerability stems from two combined logic flaws when the bleve search engine is utilized:
-
Insecure Path Prefix Validation: In the search handler (
server/handles/search.go), the application attempts to restrict search results to the user's allowed namespace using a simple prefix check:strings.HasPrefix(node.Parent, user.BasePath). Because this function is not path-separator aware, a user with aBasePathrestricted to/basewill successfully pass the authorization check for a completely separate directory named/base2(since "/base2" starts with "/base"). -
Unfiltered Total Count Leakage: The
blevebackend (internal/search/bleve/search.go) searches the index globally and ignores thereq.Parentboundary. Even if the application later successfully filters out unauthorized items from theContentarray (e.g., viaCanAccessmeta password checks), it still returns the rawTotalcount provided by the search backend. This allows an attacker to perform blind data-enumeration, confirming the existence of sensitive files outside their namespace by observing theTotalcount.
PoC
Prerequisites:
- Log in as an administrator and set the Search Index Mode to
bleve. Build the index. - Create two directories at the root level:
/baseand/base2. - Upload a sensitive file into the unauthorized directory:
/base2/secret_financial_report.pdf. - Create a low-privileged test user and strictly set their
Base pathto/base.
Exploitation Steps:
- Authenticate as the newly created low-privileged user.
- Send the following HTTP request to the search API:
POST /api/fs/search HTTP/1.1
Host: <your-openlist-host>
Authorization: <test-user-token>
Content-Type: application/json
{
"parent": "/",
"keywords": "secret",
"page": 1,
"per_page": 20,
"scope": 0
}
- Observe the response: Due to the prefix bypass (
strings.HasPrefix("/base2", "/base") == true), the metadata forsecret_financial_report.pdfwill be leaked in the response Content.- Alternatively, even if access is further blocked by folder-level passwords, the Total field will return > 0, allowing the attacker to blindly confirm the existence of the keyword "secret" in unauthorized global directories.
<img width="2112" height="1381" alt="image" src="https://github.com/user-attachments/assets/9f8c5e18-8744-4363-8d3f-5e6cf691f061" />
Impact
This is an Information Disclosure and Horizontal/Vertical Privilege Escalation vulnerability. Any authenticated user can enumerate hidden infrastructure, verify the existence of sensitive files (e.g., passwords, internal documents), and extract file metadata across the entire storage namespace, completely defeating the BasePath isolation mechanism.
Remediation Recommendations
- Separator-Aware Path Containment: Replace strings.HasPrefix with a robust path containment check. For example: target == base || strings.HasPrefix(target, base + "/"), or use a dedicated utility like utils.IsSubPath().
- Backend-Level Filtering: Enforce the path boundary within the bleve query itself (e.g., using indexed parent path hashes) rather than relying solely on post-query API filtering.
- Accurate Total Calculation: Compute the Total count only after all authorization and path filters have been applied to the result set.
- Record
GHSA-p6ph-3jx2-3337- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200, CWE-639
- Updated
- 2026-11-02
NVD
4.3
OpenList is a file list program that supports multiple storage backends. Prior to 4.2.4, the OpenList search API uses a non-separator-aware strings.HasPrefix comparison as a path containment authorization check when authorizing globally indexed Bleve results against a restricted user's BasePath. When Bleve search is enabled and a restricted authenticated user searches the global index for content in a sibling path, the user causes a globally indexed sibling-path result to pass the prefix check. The strings.HasPrefix(node.Parent, user.BasePath) predicate allows a sibling path such as /base2 to be treated as contained by /base. Unauthorized file metadata or file-existence information can be disclosed, and the backend Total value can reveal a match even when another access check removes the individual result. This issue is fixed in version 4.2.4.
- Record
CVE-2026-102663- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200, CWE-639
- Updated
- 2026-11-02
OSV
4.3
OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search
OpenList is a file list program that supports multiple storage backends. Prior to 4.2.4, the OpenList search API uses a non-separator-aware strings.HasPrefix comparison as a path containment authorization check when authorizing globally indexed Bleve results against a restricted user's BasePath. When Bleve search is enabled and a restricted authenticated user searches the global index for content in a sibling path, the user causes a globally indexed sibling-path result to pass the prefix check. The strings.HasPrefix(node.Parent, user.BasePath) predicate allows a sibling path such as /base2 to be treated as contained by /base. Unauthorized file metadata or file-existence information can be disclosed, and the backend Total value can reveal a match even when another access check removes the individual result. This issue is fixed in version 4.2.4.
- Record
CVE-2026-102663- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200, CWE-639
- Updated
- 2026-11-02
OSVGHSA-p6ph-3jx2-3337
4.3
OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search
Summary
An authorization bypass and information disclosure vulnerability exists in the search API of Openlist. Due to a non-separator-aware path check and unfiltered backend counting, a low-privileged user can bypass their assigned BasePath restrictions to discover and access metadata of files residing in unauthorized sibling directories.
Details
This vulnerability stems from two combined logic flaws when the bleve search engine is utilized:
-
Insecure Path Prefix Validation: In the search handler (
server/handles/search.go), the application attempts to restrict search results to the user's allowed namespace using a simple prefix check:strings.HasPrefix(node.Parent, user.BasePath). Because this function is not path-separator aware, a user with aBasePathrestricted to/basewill successfully pass the authorization check for a completely separate directory named/base2(since "/base2" starts with "/base"). -
Unfiltered Total Count Leakage: The
blevebackend (internal/search/bleve/search.go) searches the index globally and ignores thereq.Parentboundary. Even if the application later successfully filters out unauthorized items from theContentarray (e.g., viaCanAccessmeta password checks), it still returns the rawTotalcount provided by the search backend. This allows an attacker to perform blind data-enumeration, confirming the existence of sensitive files outside their namespace by observing theTotalcount.
PoC
Prerequisites:
- Log in as an administrator and set the Search Index Mode to
bleve. Build the index. - Create two directories at the root level:
/baseand/base2. - Upload a sensitive file into the unauthorized directory:
/base2/secret_financial_report.pdf. - Create a low-privileged test user and strictly set their
Base pathto/base.
Exploitation Steps:
- Authenticate as the newly created low-privileged user.
- Send the following HTTP request to the search API:
POST /api/fs/search HTTP/1.1
Host: <your-openlist-host>
Authorization: <test-user-token>
Content-Type: application/json
{
"parent": "/",
"keywords": "secret",
"page": 1,
"per_page": 20,
"scope": 0
}
- Observe the response: Due to the prefix bypass (
strings.HasPrefix("/base2", "/base") == true), the metadata forsecret_financial_report.pdfwill be leaked in the response Content.- Alternatively, even if access is further blocked by folder-level passwords, the Total field will return > 0, allowing the attacker to blindly confirm the existence of the keyword "secret" in unauthorized global directories.
<img width="2112" height="1381" alt="image" src="https://github.com/user-attachments/assets/9f8c5e18-8744-4363-8d3f-5e6cf691f061" />
Impact
This is an Information Disclosure and Horizontal/Vertical Privilege Escalation vulnerability. Any authenticated user can enumerate hidden infrastructure, verify the existence of sensitive files (e.g., passwords, internal documents), and extract file metadata across the entire storage namespace, completely defeating the BasePath isolation mechanism.
Remediation Recommendations
- Separator-Aware Path Containment: Replace strings.HasPrefix with a robust path containment check. For example: target == base || strings.HasPrefix(target, base + "/"), or use a dedicated utility like utils.IsSubPath().
- Backend-Level Filtering: Enforce the path boundary within the bleve query itself (e.g., using indexed parent path hashes) rather than relying solely on post-query API filtering.
- Accurate Total Calculation: Compute the Total count only after all authorization and path filters have been applied to the result set.
- Record
GHSA-p6ph-3jx2-3337- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-200, CWE-639
- Updated
- 2026-11-02
OSVGO-2026-6113 No score
OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search in github.com/OpenListTeam/OpenList
OpenList: Search metadata/count disclosure via Non-Separator-Aware Path Check in Bleve Search in github.com/OpenListTeam/OpenList
- Record
GO-2026-6113- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/OpenListTeam/OpenList/v4Go |
through 4.2.3 | 4.2.4 |
github.com/OpenListTeam/OpenList/v4Go |
before 4.2.4 | 4.2.4 |
github.com/OpenListTeam/OpenListGo |
All versions | None known |
github.com/OpenListTeam/OpenList/v3Go |
All versions | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-102663 is a medium vulnerability (CVSS 4.3) in Openlistteam Openlist, published July 24, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.26%, the 17th percentile. Fixed in github.com/OpenListTeam/OpenList/v4 4.2.4.
References
github.com/OpenListTeam/OpenList/security/advisories/GHSA-p6ph-3jx2-3337
github.com/OpenListTeam/OpenList/commit/59bd3431408578f420895457554700cc9a52375a
github.com/OpenListTeam/OpenList/commit/84ecda35aae2bd0020474086e6ddfd3aa2340679
github.com/OpenListTeam/OpenList/releases/tag/v4.2.4
github.com/advisories/GHSA-p6ph-3jx2-3337
github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102663.json
nvd.nist.gov/vuln/detail/CVE-2026-102663
github.com/OpenListTeam/OpenList