CVE-2026-23485
Path Traversal in Blinko FilePath Allows Server File Enumeration
Publication date: 2026-03-23
Last updated on: 2026-03-24
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| blinko | blinko | to 1.8.4 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?
The immediate mitigation step is to upgrade Blinko to version 1.8.4 or later, where this vulnerability has been patched.
The patch includes strict validation and resolution of the `filePath` parameter to ensure it cannot escape the designated upload directory, preventing path traversal.
Additionally, the patch standardizes error responses to avoid leaking information about file existence, mitigating file enumeration attacks.
- If upgrading immediately is not possible, consider implementing network-level controls to restrict access to the vulnerable endpoint.
- Monitor and audit access logs for suspicious requests containing path traversal sequences.
Can you explain this vulnerability to me?
[{'type': 'paragraph', 'content': "CVE-2026-23485 is a path traversal vulnerability in the Blinko project's music-metadata component. Specifically, the filePath parameter accepted by the musicMetadata endpoint was not properly validated or sanitized, allowing attackers to include path traversal sequences like '../' to access files outside the intended directory."}, {'type': 'paragraph', 'content': 'This improper handling lets an attacker enumerate files on the server by observing different error responses, confirming the existence of sensitive files such as configuration files. Exploitation requires the attacker to have set a Spotify API Key and API Secret.'}, {'type': 'paragraph', 'content': 'The vulnerability arises because the server replaces a prefix in the filePath with a server-side upload directory path and reads the file without neutralizing path traversal characters, enabling unauthorized file access.'}] [1]
How can this vulnerability impact me? :
This vulnerability allows attackers to perform unauthorized file enumeration on the server by exploiting path traversal sequences in the filePath parameter.
By enumerating files, attackers can confirm the existence of sensitive files, including configuration files, which can lead to information disclosure.
Such reconnaissance can facilitate further attacks against the system or its data.
The severity of the impact is considered low, but it still poses a risk of unauthorized information disclosure.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': 'This vulnerability can be detected by attempting to exploit the path traversal flaw in the `filePath` parameter of the `/api/v1/public/music-metadata` GET endpoint. By sending crafted requests containing path traversal sequences (e.g., `../`) in the `filePath` parameter, you can observe different error responses that indicate whether certain files exist on the server.'}, {'type': 'paragraph', 'content': 'A practical detection method involves using curl or similar HTTP clients to send requests with various path traversal payloads and analyzing the responses.'}, {'type': 'list_item', 'content': 'Example command to test for path traversal and file enumeration:'}, {'type': 'list_item', 'content': 'curl -v "http://<server_address>/api/v1/public/music-metadata?filePath=/api/file/../../../../etc/passwd"'}, {'type': 'list_item', 'content': 'Observe the HTTP response codes and messages. Different error messages or status codes may indicate the presence or absence of files, confirming the vulnerability.'}, {'type': 'paragraph', 'content': 'Note that exploitation requires the attacker to have set a Spotify API Key and API Secret, so detection attempts should consider authentication context.'}] [1]