/

CVE-2026-129153

Severity:

HIGH RISK

(7.1)

Authorization Bypass (CWE-639) in SurveyKing Linked Surveys

CVE-2026-129153

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Unauthorized access to and modification of survey responses

Severity:

HIGH RISK

(7.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

SurveyKing's linked survey feature does not adequately check whether a referenced survey belongs to the authenticated caller's project. An authenticated attacker may use this gap to read, modify, or create responses in another user's survey.

Affected context

The issue affects the linked survey feature in SurveyKing 1.12.0 through 1.13.2. It arises when operations use a referenced linkSurveyId without confirming that the target survey belongs to the caller's project.

Exploit preconditions

  • Attack surface: Authenticated requests to linked survey functionality
  • Required access: A valid account able to use the relevant feature; the description does not specify further role requirements
  • Trigger point: Processing a linked option that references a survey through linkSurveyId
  • Why exploitation is possible: The application does not verify that the referenced survey is within the caller's authorized project before reading or changing responses

Why this happens

The underlying flaw is a missing object-level authorization check. The application uses a caller-supplied object identifier to access a survey but does not confirm ownership or project-level access before performing the requested operation.

This maps to CWE-639: Authorization Bypass Through User-Controlled Key, where an attacker can alter a key used to select an object and access data outside their permitted scope.

Potential impact

  • Attackers may read responses from another user's survey
  • Attackers could rewrite existing responses
  • Attackers may create responses in surveys they do not own
  • Unauthorized changes could affect survey data integrity and confidentiality

General mitigation guidance

Defensive patterns should ensure that authorization is evaluated for every object access, not inferred from authentication or possession of an identifier.

  • Scope survey lookups to the caller's authorized project or tenant
  • Check ownership and permissions before reading, updating, or creating responses
  • Prefer server-derived authorization context over trusting client-supplied identifiers
  • Apply least privilege to accounts and service components that handle survey data
  • Use consistent authorization checks across all linked survey operations

How teams detect issues like this

Review code paths that accept survey identifiers and use them to retrieve or mutate records. Look for missing ownership or project-scope checks, especially in linked survey handlers and response operations.

Static analysis and code review can flag direct object lookups based on request parameters. Runtime monitoring and policy tests can also identify requests that cross project boundaries or access objects outside the caller's authorized scope.

Sources

SourceLink
github.comgithub.com/javahuang/SurveyKing/blob/5de0d05b682ee34244c0b6c07be24eb6358cd8a5/server/rdbms/src/main/java/cn/surveyking/server/impl/AnswerServiceImpl.java#L793-L830
github.comgithub.com/javahuang/SurveyKing/blob/5de0d05b682ee34244c0b6c07be24eb6358cd8a5/server/rdbms/src/main/java/cn/surveyking/server/impl/SurveyServiceImpl.java#L435-L470
github.comgithub.com/javahuang/SurveyKing/issues/92
vul.yulun.ac.cnvul.yulun.ac.cn/20261107/surveyking/
vulncheck.comvulncheck.com/advisories/surveyking-1.12.0-through-1.13.2-authorization-bypass-via-linked-survey-linksurveyid

Frequently asked

questions

The described attack requires authentication and access to the linked survey functionality. The exact account permissions needed may depend on the deployment.

By referencing a survey outside their own project, an attacker may read, rewrite, or create responses in that survey.

Verify the caller's authorization for the specific target survey before every read or write, and scope lookups to authorized projects.

Treat client-provided identifiers as untrusted, enforce object-level authorization consistently, and test that users cannot access records across project boundaries.

Find out what's already
exploitable in your codebase.