{"id":"CVE-2026-111646","summary":"SurveyKing before 1.13.0 Unauthenticated File Download via /api/public/preview","details":"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.","modified":"2026-10-24T02:49:51.710694565Z","published":"2026-10-16T17:39:15.125Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111646.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"fixed":"1.13.0"}]}]},{"extracted_events":[{"range":[{"fixed":"1.13.0"}],"source":"CPE_FIELD","strategy":"CPEApplicability"}]},{"extracted_events":[{"range":[{"fixed":"1.13.0"}],"source":"DESCRIPTION"}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-862"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111646.json"},{"type":"ADVISORY","url":"https://hackmd.io/@hieuPenguinnn/surveyking-public-preview-unauth-file-read"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111646"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/surveyking-before-1.13.0-unauthenticated-file-download-via-api-public-preview"},{"type":"FIX","url":"https://github.com/javahuang/SurveyKing/commit/9489171d53e55ace2856a91af38034665c0064a4"},{"type":"PACKAGE","url":"https://github.com/javahuang/SurveyKing"},{"type":"ARTICLE","url":"https://github.com/javahuang/SurveyKing/blob/6e1fdd59f9b331ac90a26402ac86a002cc9155a9/server/api/src/main/java/cn/surveyking/server/api/SurveyApi.java#L99-L107"},{"type":"ARTICLE","url":"https://github.com/javahuang/SurveyKing/blob/6e1fdd59f9b331ac90a26402ac86a002cc9155a9/server/rdbms/src/main/java/cn/surveyking/server/impl/FileServiceImpl.java#L197-L228"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/javahuang/surveyking","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"}}],"schema_version":"1.9.0","severity":[{"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"}]}