Summary
OpenCTI does not verify that an authenticated user is authorized to access a referenced Draft Workspace. A user who obtains another workspace's identifier may read unpublished intelligence or use it to make changes in that private workspace.
Affected context
The issue affects OpenCTI Draft Workspace operations in versions before 7.260513.0. It arises when draft identifiers are accepted for entity queries or mutations without checking whether the authenticated user can access the corresponding workspace. The described impact is cross-user disclosure and tampering; the vulnerability does not cause denial of service.
Exploit preconditions
- Attack surface: Draft Workspace queries and mutations
- Required access: An authenticated OpenCTI account
- Trigger point: A request references another user's draft identifier, including through the
opencti-draft-idheader - Why exploitation is possible: The application accepts the identifier without verifying the user's access to the referenced draft
- Identifier condition: The attacker must obtain or discover a valid draft identifier to target that workspace
Why this happens
The application treats a user-controlled Draft Workspace identifier as sufficient to select a workspace, without checking that the authenticated user is authorized to access it. This is an authorization failure mapped to CWE-639: Authorization Bypass Through User-Controlled Key and CWE-285: Improper Authorization. The insecure pattern is relying on an object reference supplied by a request without enforcing ownership or access policy for each operation.
Potential impact
- An authenticated user could read unpublished reports, descriptions, observables, and other staged intelligence
- A user could inject entities or relationships into another user's private workspace
- Confidentiality and integrity of draft intelligence could be compromised
- The issue does not cause denial of service, according to the available description
General mitigation guidance
Mitigation patterns focus on enforcing authorization at the point where each draft is accessed or changed.
- Derive workspace access from the authenticated user's permissions rather than trusting a supplied identifier alone
- Apply ownership and access-policy checks consistently to queries and mutations
- Treat identifiers in headers and request arguments as untrusted input
- Prefer secure-by-default authorization that denies access unless an explicit permission is established
- Limit user privileges to the workspaces and actions required for their role
How teams detect issues like this
- Review resolver and service code for draft lookups that use request-provided identifiers without an authorization check
- Use static analysis or code-review rules to flag object access based on user-controlled keys without nearby permission enforcement
- Test queries and mutations with accounts that have different workspace ownership and access rights
- Monitor policy enforcement for requests where a user accesses a draft outside their authorized scope
- Include object-level authorization checks in API security reviews and automated testing

