CVE-2026-67202 — AppFlowy-IO AppFlowy-Cloud — CWE-306
AppFlowy-Cloud through 0.9.64 contains a missing authentication vulnerability in the file storage API that allows unauthenticated attackers to list, measure and download files stored in any workspace whose ID they know. The get_all_workspace_blob_metadata_handler, get_workspace_usage_handler and get_blob_handler handlers serving GET /api/file_storage/{workspace_id}/blobs, /usage and /blob/{file_id} take no user identity and perform no workspace permission check, unlike put_blob_handler on the same resource. Attackers who obtain a workspace ID can enumerate file IDs and sizes and retrieve the full contents of every file uploaded to that workspace. The AppFlowy-Cloud repository was archived without a fix.
AppFlowy-Cloud through 0.9.64 contains a missing authentication vulnerability in the file storage API that allows unauthenticated attackers to list, measure and download files stored in any workspace whose ID they know. The get_all_workspace_blob_metadata_handler, get_workspace_usage_handler and get_blob_handler handlers serving GET /api/file_storage/{workspace_id}/blobs, /usage and /blob/{file_id} take no user identity and perform no workspace permission check, unlike put_blob_handler on the same resource. Attackers who obtain a workspace ID can enumerate file IDs and sizes and retrieve the full contents of every file uploaded to that workspace. The AppFlowy-Cloud repository was archived without a fix.
🎯 What is this vulnerability?
CVE-2026-67202 is a Missing Authentication for Critical Function (CWE-306) vulnerability in AppFlowy-Cloud (version 0.9.64 and earlier).
The technical flaw lies in the File Storage API module. Specifically, three HTTP handlers are implemented without any user identity verification or workspace permission checks:
1. get_all_workspace_blob_metadata_handler
2. get_workspace_usage_handler
3. get_blob_handler
These handlers serve the following endpoints:
GET /api/file_storage/{workspace_id}/blobsGET /api/file_storage/{workspace_id}/usageGET /api/file_storage/{workspace_id}/blob/{file_id}- AV:N / PR:N / UI:N: Exploitable over the network without authentication or user interaction.
- AC:H: High complexity is likely due to the need to discover valid
workspace_idvalues (which may be UUIDs or non-sequential integers) or specificfile_idvalues if not enumerable via the metadata endpoint. However, the metadata endpoint allows enumeration, reducing the complexity of finding specific files once the workspace ID is known. - VC:H: High Confidentiality impact. Full contents of files (documents, media, potentially sensitive data) are exposed.
- VI:N / VA:N: No integrity or availability impact. The vulnerability is read-only.
- Fingerprinting: Identify targets running AppFlowy-Cloud. This can be done by checking for specific headers, default ports, or known API paths.
- Workspace ID Enumeration: * If
Unlike the put_blob_handler (which presumably enforces authentication and authorization), these read-only endpoints accept requests from unauthenticated sources. The system fails to validate that the requester belongs to the specified {workspace_id} or possesses valid credentials. Consequently, any attacker who knows or guesses a valid workspace_id can enumerate all file IDs and sizes within that workspace and download the full content of any file stored there.
CVSS 4.0 Analysis:
⚡ Attack Chain
1. Discovery & Reconnaissance
workspace_id is a UUID (v4), brute-forcing is infeasible. The attacker must obtain a valid ID through other means (e.g., social engineering, leaked data, or if the ID is exposed in client-side JavaScript or API responses from other endpoints).
* If workspace_id is a sequential integer or short string, brute-force or scanning tools can be used.
Note*: The CVE states "whose ID they know," implying the primary barrier is knowledge of the ID, not the lack of authentication itself.2. Exploitation
Once a validworkspace_id is obtained, the attacker can exploit the missing authentication.Step 2a: Enumerate Files in the Workspace
The attacker queries the metadata endpoint to list all files.
# Illustrative PoC: List all blobs in a known workspace
# Replace {workspace_id} with a valid ID
curl -s "https://target-appflowy.com/api/file_storage/{workspace_id}/blobs" | jq .Expected Response: A JSON array of objects containing file_id, size, name, created_at, etc.
Step 2b: Check Storage Usage (Optional)
curl -s "https://target-appflowy.com/api/file_storage/{workspace_id}/usage"Step 2c: Download Specific File
Using a file_id obtained from Step 2a, the attacker downloads the file content.
# Illustrative PoC: Download a specific file
# Replace {workspace_id} and {file_id} with valid values
curl -s -o "stolen_document.pdf" "https://target-appflowy.com/api/file_storage/{workspace_id}/blob/{file_id}"Important Note: The exact JSON structure of the response is not specified in the CVE description. The above curl commands are illustrative examples based on standard REST API conventions for file storage services. The actual parameter names and response format may vary slightly, but the lack of authentication on these specific GET endpoints is the core vulnerability.
3. Post-Exploitation
🌍 Real World Impact
Practical Consequences:
🛡️ Remediation & Mitigation
1. Patching
2. Workarounds (If Migration/Forking is Not Immediate)
Since the vulnerability is in the API, network-level controls are the primary mitigation.A. Restrict Access via Reverse Proxy (Nginx/Apache)
Block unauthenticated access to the vulnerable endpoints. If AppFlowy-Cloud uses a standard authentication mechanism (e.g., JWT in Authorization header), the reverse proxy can enforce this.
Nginx Example:
location /api/file_storage/ {
# Deny all requests without a valid Authorization header
if ($http_authorization = "") {
return 403;
}
# Optional: Validate JWT signature at the proxy level if supported
# Or pass to AppFlowy-Cloud and rely on its internal auth (but it's broken for these endpoints)
proxy_pass http://appflowy_backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}Note: This is a coarse mitigation. It blocks unauthenticated requests but does not validate that the authenticated user has permission to access the specific workspace_id. If AppFlowy-Cloud's internal authorization is also broken for these endpoints (which is likely, given the "missing authentication" description), this workaround is insufficient. The only true fix is code-level authorization checks.
B. WAF Rules (ModSecurity)
Create a rule to block requests to the vulnerable endpoints if they lack a valid authentication token.
ModSecurity Rule Example:
# Block unauthenticated access to file storage read endpoints
SecRule REQUEST_URI "@rx ^/api/file_storage/[^/]+/(blobs|usage|blob)" \
"id:100001,phase:1,deny,status:403,msg:'Unauthorized access to file storage API',log,tag:'CVE-2026-67202'" \
"chain"
SecRule AUTHORIZATION "!@streq \"Bearer\"" \
"t:none"Note: This rule assumes a Bearer token scheme. Adjust based on AppFlowy-Cloud's actual authentication mechanism. This is a temporary mitigation and does not replace proper code fixes.
C. Network Segmentation
3. Detection (IoCs)
Monitor web server logs for unauthenticated requests to the vulnerable endpoints.Log Pattern (Nginx/Apache):
GET /api/file_storage/{workspace_id}/blobs HTTP/1.1" 200
GET /api/file_storage/{workspace_id}/blob/{file_id} HTTP/1.1" 200
GET /api/file_storage/{workspace_id}/usage HTTP/1.1" 200Indicators of Compromise (IoCs):
1. Unauthenticated 200 Responses: Look for 200 OK responses to the above endpoints where the Authorization header is missing or invalid.
2. High Volume of File Downloads: A sudden spike in GET /api/file_storage/.../blob/... requests from a single IP address.
3. Enumeration Attempts: Multiple requests to GET /api/file_storage/{workspace_id}/blobs with different workspace_id values (brute-forcing).
4. Large Data Transfers: Unusually large outbound data transfers from the AppFlowy-Cloud server to external IPs.
SIEM Query Example (Splunk):
index=web_logs uri="/api/file_storage/*" status=200 (authorization="" OR authorization="null") | stats count by src_ip, uri | where count > 5⚠️ Urgency
workspace_id), but the impact is severe.Rationale:
1. No Fix Available: The vendor has abandoned the project. This is a "dead" vulnerability with no official remediation.
2. High Impact: Full data exfiltration from any workspace whose ID is known.
3. Ease of Exploitation: Once a workspace_id is known, exploitation is trivial (simple HTTP GET requests).
4. Business Risk: Data breaches can lead to significant financial and reputational damage.
Immediate Actions:
1. Assess Exposure: Determine if any AppFlowy-Cloud instances are exposed to the internet.
2. Implement Network Controls: Immediately restrict access to the API via firewall or reverse proxy.
3. Plan Migration: Begin planning migration to a supported, secure alternative.
4. Monitor for Breaches: Review logs for signs of unauthorized access.
5. Notify Stakeholders: Inform security and legal teams about the potential for data breach.
Do not rely on WAF rules as a long-term solution. The only secure path is to stop using the vulnerable software or fork and fix it with proper authentication and authorization checks.
[🤖 CVE Professor AI Security Engine]
FOFA Query