---
id: CVE-2026-111646
title: SurveyKing before 1.13.0 Unauthenticated File Download via /api/public/preview
summary: >-
  SurveyKing before 1.13.0 contains a missing authorization vulnerability that
  allows unauthenticated attackers to download any stored file by id through GET
  /api/public/preview/{attachmentId}. Attackers who know or derive time-ordered
  sno…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-862
vendor: javahuang
product: SurveyKing
affected:
  - SurveyKing < 1.13.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-16T19:34:01.319103Z'
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T21:18:43.318Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-111646'
references:
  - url: >-
      https://hackmd.io/@hieuPenguinnn/surveyking-public-preview-unauth-file-read
  - url: >-
      https://github.com/javahuang/SurveyKing/blob/6e1fdd59f9b331ac90a26402ac86a002cc9155a9/server/api/src/main/java/cn/surveyking/server/api/SurveyApi.java#L99-L107
  - url: >-
      https://github.com/javahuang/SurveyKing/blob/6e1fdd59f9b331ac90a26402ac86a002cc9155a9/server/rdbms/src/main/java/cn/surveyking/server/impl/FileServiceImpl.java#L197-L228
  - url: >-
      https://github.com/javahuang/SurveyKing/commit/9489171d53e55ace2856a91af38034665c0064a4
  - url: 'https://github.com/javahuang/SurveyKing'
  - url: >-
      https://www.vulncheck.com/advisories/surveyking-before-1.13.0-unauthenticated-file-download-via-api-public-preview
    label: >-
      VulnCheck Advisory: SurveyKing before 1.13.0 Unauthenticated File Download
      via /api/public/preview
tags:
  - cve.org
ingestedAt: '2026-10-16T18:43:08.679Z'
---

## Overview

SurveyKing before 1.13.0 contains a missing authorization vulnerability that allows unauthenticated attackers to download any stored file by id through GET /api/public/preview/{attachmentId}. Attackers who know or derive time-ordered snowflake file ids can bypass shared, owner, and project checks in FileServiceImpl.loadFile to read private survey attachments and respondent uploads.

## Affected

- `SurveyKing < 1.13.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
