Skip to main content
Vulnerability Database/CVE-2026-111646

CVE-2026-111646: SurveyKing Auth Bypass Vulnerability

CVE-2026-111646 is an authorization bypass flaw in SurveyKing that allows unauthenticated attackers to download private files. This post explains its impact, affected versions, and mitigation steps.

Published:

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-111646 Overview

CVE-2026-111646 is a missing authorization vulnerability [CWE-862] affecting SurveyKing versions before 1.13.0. The flaw resides in the GET /api/public/preview/{attachmentId} endpoint, which fails to enforce access controls before returning stored files. Unauthenticated attackers can download any attachment by supplying its id, bypassing shared, owner, and project checks inside FileServiceImpl.loadFile.

Because SurveyKing uses time-ordered snowflake identifiers for attachments, attackers who know, guess, or derive those ids can enumerate private survey attachments and respondent uploads. The exposure includes files intended only for survey owners or specific respondents.

Critical Impact

Unauthenticated remote attackers can read arbitrary private files, including survey attachments and respondent uploads, by directly requesting attachment ids via the public preview API.

Affected Products

  • SurveyKing versions prior to 1.13.0
  • The /api/public/preview/{attachmentId} endpoint in SurveyApi
  • The FileServiceImpl.loadFile component responsible for enforcing file access checks

Discovery Timeline

  • 2026-10-16 - CVE-2026-111646 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-111646

Vulnerability Analysis

SurveyKing exposes a public preview endpoint intended to render shared attachments without authentication. The handler in SurveyApi delegates directly to FileServiceImpl.loadFile, which returns the file bytes keyed by attachment id. The server does not verify that the requested attachment is actually part of a shared, public context before responding.

As a result, any file stored through SurveyKing's attachment pipeline is reachable through the same unauthenticated route. This includes files uploaded by respondents to private surveys and documents attached to internal projects.

Attachment ids are generated using snowflake values that encode timestamps. An attacker who observes one legitimate id can derive adjacent ids by iterating nearby timestamp and sequence components, enabling bulk enumeration of private files.

SurveyKing's v1.13.0 release adds the authorization checks that were previously missing, aligning the preview endpoint with the owner, project, and share validations enforced elsewhere in the application.

Root Cause

The root cause is a missing authorization check [CWE-862] in the file preview path. FileServiceImpl.loadFile executes the lookup and returns file contents without evaluating whether the caller has permission to view the attachment. The /api/public/preview/{attachmentId} route is explicitly unauthenticated, so no upstream filter compensates for the missing check.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker sends an HTTP GET request to /api/public/preview/{attachmentId} with a valid or guessed snowflake id. The server responds with the raw file bytes, bypassing shared, owner, and project checks.

See the HackMD SurveyKing Unauth File Read write-up and the VulnCheck SurveyKing Advisory for technical details. The affected request path and handler are visible in the SurveyApi source and the FileServiceImpl source.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-111646

Indicators of Compromise

  • HTTP GET requests to /api/public/preview/{attachmentId} from unauthenticated clients, especially in rapid succession.
  • Sequential or incrementing snowflake-style ids in the request path suggesting enumeration.
  • Access log entries showing successful 200 OK responses to /api/public/preview/ from source IPs that never authenticated.
  • Spikes in outbound bytes from the SurveyKing application tied to preview endpoint requests.

Detection Strategies

  • Alert on any /api/public/preview/ request pattern where the same client requests many distinct attachment ids within a short window.
  • Correlate preview endpoint requests with the absence of a corresponding share-link referral or session cookie.
  • Flag requests originating from external IP ranges that bypass the normal survey landing pages before accessing attachments.

Monitoring Recommendations

  • Enable verbose access logging on the SurveyKing reverse proxy or ingress to capture full request paths and client identifiers.
  • Forward web logs to a centralized analytics or SIEM platform for enumeration pattern detection.
  • Retain file download audit logs long enough to support incident scoping if exploitation is suspected.

How to Mitigate CVE-2026-111646

Immediate Actions Required

  • Upgrade SurveyKing to 1.13.0 or later, which introduces the missing authorization checks on the preview endpoint.
  • Restrict exposure of the SurveyKing application to trusted networks until the patch is applied.
  • Review file download logs for the /api/public/preview/ path to identify prior unauthorized access.
  • Rotate or invalidate any sensitive documents previously uploaded as survey attachments if exposure is suspected.

Patch Information

The fix is delivered in SurveyKing 1.13.0. The upstream commit 9489171 is the v1.13.0 release that bundles the authorization hardening alongside other feature changes. Operators should pull the official release artifacts from the SurveyKing project repository and redeploy.

Workarounds

  • Block or filter /api/public/preview/{attachmentId} at a reverse proxy for unauthenticated clients until the upgrade is complete.
  • Require an authenticated session cookie or signed share token at the proxy layer before forwarding preview requests to SurveyKing.
  • Temporarily disable attachment uploads for sensitive surveys to reduce the data available via enumeration.
bash
# Example NGINX workaround: deny unauthenticated preview access
location ~ ^/api/public/preview/ {
    if ($http_cookie !~* "SESSION=") {
        return 403;
    }
    proxy_pass http://surveyking_backend;
}

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.