Summary
In dataCycle-CORE, direct download links for attached text files can be accessed using only a DataLink UUID, even after the link has expired or when normal authorization would deny access.
Because the route is public and email notifications embed the raw file URL, any leaked, forwarded, or stale email link may continue to expose attachments to unauthenticated callers.
Affected context
The vulnerability occurs in deployments of dataCycle-CORE up to and including version 25.07.3 where DataLink-based attachments are shared via email or other messaging channels.
The issue manifests when the application exposes a public route that serves the attachment by UUID without re-checking link expiration or the caller's current authorization state.
It is most relevant in environments that send users direct file URLs instead of short-lived, access-controlled tokens.
Exploit preconditions
- Attack surface: Public HTTP route that serves attachment files
- Required access: Knowledge of a valid DataLink UUID embedded in a direct file URL (e.g., from a leaked, forwarded, or logged email)
- Trigger point: HTTP request to the attachment endpoint using the UUID, regardless of session or authentication
- Why exploitation is possible: The backend bypasses normal access checks and expiration logic for this route, treating the UUID as sufficient proof of access
Why this happens
The underlying issue is a broken access control pattern where a direct resource endpoint does not enforce the same authorization and lifecycle rules as the main "show" flow.
Instead of validating the caller's identity, permissions, and link expiration, the implementation treats possession of a DataLink UUID as an implicit grant.
This maps to CWE-285: Improper Authorization, where security decisions are either missing or inconsistently applied, allowing unauthorized users to access protected resources.
Potential impact
- Unauthorized reading of attached text files that should no longer be accessible
- Continued exposure of sensitive data via stale or forwarded email links
- Potential regulatory or compliance violations due to unintended data disclosure
- Increased risk from log-based or third-party leakages of direct file URLs
General mitigation guidance
Effective mitigation focuses on consistently enforcing authorization checks for every path that exposes protected data.
Common defensive patterns include:
- Reusing the same authorization and expiration logic across all resource-serving routes, including "direct" download endpoints
- Treating any opaque identifier (such as a UUID) as untrusted until validated against access rules and link state
- Using short-lived, signed tokens for file access instead of long-lived static URLs
- Implementing server-side checks that ensure links expire and cannot be used once their intended lifecycle has ended
- Applying least-privilege design so that unauthenticated users are denied by default unless explicitly authorized
How teams detect issues like this
Organizations can detect similar access control gaps by:
- Reviewing routes that serve files or records directly to ensure they call shared authorization helpers or middleware
- Using static analysis or API gateway policies to flag public endpoints that lack authentication or permission checks
- Conducting access control–focused code reviews, tracing how identifiers like UUIDs are validated before use
- Employing security testing or red-team exercises that attempt to access resources via stale or forwarded links

