/

CVE-2026-101868

Severity:

HIGH RISK

(7.5)

Authorization Bypass (CWE-639) in EUSurvey Contributions

CVE-2026-101868

Received

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-639

Impact:

Unauthorized disclosure of private survey responses

Severity:

HIGH RISK

(7.5)

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 exposes private survey responses through an endpoint that retrieves a contribution by its sequential database ID without applying the usual access checks. An unauthenticated attacker who can reach the endpoint may enumerate IDs and read other respondents' answers, including free-text responses that could contain personal data.

Affected context

The issue occurs in EUSurvey's contribution PDF handling for the GET /preparepublishedcontribution/{id} endpoint. It is relevant where the endpoint is reachable and responses are looked up by sequential database ID without the normal response-level authorization checks.

Exploit preconditions

  • Attack surface: The contribution endpoint must be reachable by the attacker.
  • Required access: No authentication is required according to the vulnerability description.
  • Trigger point: A request to retrieve a published contribution using its response ID.
  • Why exploitation is possible: The handler uses the supplied sequential ID to locate a response but skips normal access checks, allowing IDs to be enumerated.

Why this happens

The handler retrieves a response using an identifier without verifying that the requester is authorized to access that specific response. This is an authorization weakness involving a user-controlled key, mapped to CWE-639: Authorization Bypass Through User-Controlled Key. Sequential identifiers can make object discovery easier, but the underlying flaw is the missing per-response access check.

Potential impact

  • Attackers may read private responses submitted to published surveys.
  • Free-text answers may disclose personal or otherwise sensitive information.
  • Respondents' confidentiality and trust in the survey service could be undermined.
  • Exposed responses could be collected or used for further privacy abuse.

General mitigation guidance

Defensive patterns focus on enforcing authorization for every response retrieval, regardless of whether a survey is published or an identifier is difficult to guess.

  • Check the requester's access rights against the specific response and its survey before returning any data.
  • Apply authorization consistently across PDF generation and other response access paths.
  • Treat request-supplied identifiers as untrusted and avoid relying on identifier secrecy or unpredictability as an access control.
  • Return only the response data required for the authorized operation, and run service components with least privilege.

How teams detect issues like this

  • Review response retrieval paths for database lookups by request-supplied IDs that lack object-level authorization checks.
  • Use static analysis or code review rules to flag direct object access where access-control checks are absent or occur after data retrieval.
  • Test unauthenticated and low-privilege access to contribution endpoints using IDs belonging to other respondents.
  • Monitor for unusual sequences of requests to contribution endpoints and enforce policies requiring authorization before sensitive data is returned.

Sources

SourceLink
github.comgithub.com/EUSurvey/EUSURVEY/commit/4bf95a32b0f0be73a3c76d9028951f40447b59cc
github.comgithub.com/je-lv/eusurvey-security-research
vulncheck.comvulncheck.com/advisories/eusurvey-1.6-authorization-bypass-via-preparepublishedcontribution-endpoint

Frequently asked

questions

It may be exploitable over the network wherever the endpoint is reachable; the description states that authentication is not required.

No authenticated access is described as necessary. The attacker needs to reach the endpoint and identify or enumerate response IDs.

Enforce an authorization check for the specific response before retrieving or returning its contents. Do not treat a hard-to-guess identifier as a substitute for access control.

Apply object-level authorization consistently to every data access path, and include automated tests for unauthenticated and cross-user access to sensitive records.

Find out what's already
exploitable in your codebase.