Skip to content
Heist/ feed
Back to feed
High

SurveyKing before 1.13.0 Unauthenticated File Download via /api/public/preview

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-111646
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:52 UTC · Revision 1

Source evidence

SurveyKing before 1.13.0 Unauthenticated File Download via /api/public/preview

core-osv · Original source

Published 16 Oct 2026, 17:39 UTC

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.

osv:CVE-2026-111646
Complete source record
{
  "id": "e989936c95abdd682f548155d04671616794b572f33cab7c18721892e3af7e94",
  "url": "https://osv.dev/vulnerability/CVE-2026-111646",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 snowflake file ids can bypass shared, owner, and project checks in FileServiceImpl.loadFile to read private survey attachments and respondent uploads.",
    "evidence": "osv:CVE-2026-111646",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-111646",
      "aliases": [
        "CVE-2026-111646"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/javahuang/surveyking",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9489171d53e55ace2856a91af38034665c0064a4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "9489171d53e55ace2856a91af38034665c0064a4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.3.0-beta.3",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111646.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.535850586Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111646.json",
        "https://hackmd.io/@hieuPenguinnn/surveyking-public-preview-unauth-file-read",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-111646",
        "https://www.vulncheck.com/advisories/surveyking-before-1.13.0-unauthenticated-file-download-via-api-public-preview",
        "https://github.com/javahuang/SurveyKing/commit/9489171d53e55ace2856a91af38034665c0064a4",
        "https://github.com/javahuang/SurveyKing",
        "https://github.com/javahuang/SurveyKing/blob/6e1fdd59f9b331ac90a26402ac86a002cc9155a9/server/api/src/main/java/cn/surveyking/server/api/SurveyApi.java#L99-L107",
        "https://github.com/javahuang/SurveyKing/blob/6e1fdd59f9b331ac90a26402ac86a002cc9155a9/server/rdbms/src/main/java/cn/surveyking/server/impl/FileServiceImpl.java#L197-L228"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-862"
        ],
        "cna_assigner": "VulnCheck",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.13.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.13.0"
                  }
                ],
                "source": "CPE_FIELD",
                "strategy": "CPEApplicability"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.13.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111646.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-111646",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504938,
  "published_at": "2026-10-16T17:39:15.125+00:00"
}