/

CVE-2026-101866

Severity:

HIGH RISK

(8.2)

Authorization Bypass (CWE-639) in EUSurvey Draft API

CVE-2026-101866

Received

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Unauthorized draft modification and private invitation token disclosure

Severity:

HIGH RISK

(8.2)

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

EUSurvey's public draft-saving endpoint can overwrite another participant's saved draft and disclose the private invitation token used to resume it. The risk arises when a request can reference an existing invitation without the server verifying that the invitation, survey, and participation group belong together.

Affected context

The issue affects EUSurvey through version 1.6, before commit 118facd, in the public POST /runner/draft/runner endpoint. The draft handler and answer service load an existing draft by invitation without checking its relationship to the submitted survey and participation group, then update the draft and return a resume link containing the invitation token.

Exploit preconditions

  • Attack surface: The public draft-saving POST endpoint
  • Required access: No authentication is required, according to the report
  • Trigger point: Processing a request that refers to an existing draft invitation
  • Why exploitation is possible: The handler uses the invitation to find a draft but does not verify that the invitation, survey, and participation group are associated with one another before updating the draft and returning a resume link

Why this happens

The underlying issue is a missing authorization and ownership check when accessing a draft through an invitation identifier. The server treats the identifier as sufficient to select and modify a record without validating the relationships among the draft, survey, and participation group. This is an authorization bypass involving user-controlled record identification, mapped to CWE-639: Authorization Bypass Through User-Controlled Key.

Potential impact

  • An unauthenticated attacker could overwrite another participant's saved answers.
  • A private invitation token could be disclosed in the returned resume link.
  • A participant's ability to resume or complete a survey could be disrupted.
  • Exposed invitation tokens could enable further unauthorized access to associated survey functionality.

General mitigation guidance

Defensive patterns include enforcing authorization and ownership checks on every draft read or update, and verifying that the invitation, survey, and participation group form a valid association before changing data or returning a resume link. Treat client-submitted identifiers as untrusted, avoid exposing secret tokens unnecessarily, and apply least privilege to the services handling survey data. Secure-by-default designs should deny access when record ownership or relationships cannot be established.

How teams detect issues like this

  • Review draft retrieval and update paths for authorization checks tied to the authenticated participant or an explicitly validated invitation.
  • Use static analysis or code review rules to flag database lookups and mutations based on user-controlled identifiers without ownership checks.
  • Test that mismatched invitation, survey, and participation-group references are rejected.
  • Apply policy checks and automated review in development workflows to detect insecure direct object reference and authorization patterns.

Sources

SourceLink
github.comgithub.com/EUSurvey/EUSURVEY/commit/118facd00c26cae7e449745f9944490e95acd2bd
github.comgithub.com/je-lv/eusurvey-security-research
vulncheck.comvulncheck.com/advisories/eusurvey-1.6-authorization-bypass-via-runner-draft-runner

Frequently asked

questions

The affected endpoint is public, and the report describes exploitation without authentication. Exploitation depends on being able to make a request that references an existing draft invitation.

No authenticated access is required according to the vulnerability description. The request must reach the draft-saving endpoint and refer to an existing invitation.

Verify authorization and the relationship among the invitation, draft, survey, and participation group before reading or updating a draft. Avoid returning private tokens unless they are strictly necessary and appropriately protected.

Treat submitted identifiers as untrusted, enforce object-level authorization for every operation, and test that cross-record references are rejected. Use code review and automated checks to find data access paths that lack ownership validation.

Find out what's already
exploitable in your codebase.