Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108729 Overview
Corteza through version 2024.9.10 contains an incorrect authorization vulnerability [CWE-863] in its compose attachment endpoints. Unauthenticated attackers can download private attachments by manipulating the URL kind segment to page, icon, or namespace. The flaw bypasses namespace and record permission boundaries entirely, as the server does not verify that the requested kind matches the attachment's actual type.
An attacker who knows a private record or module attachment ID can request the original or preview route without a token or signature. The server returns the file regardless of the caller's permissions on the owning namespace or record.
Critical Impact
Unauthenticated remote attackers can retrieve private files across tenant and record permission boundaries by exploiting kind confusion in Corteza compose attachment endpoints.
Affected Products
- Corteza through 2024.9.10
- Corteza Compose module (server/compose/rest/attachment.go)
- Corteza Compose icon handler (server/compose/rest/icon.go)
Discovery Timeline
- 2026-10-11 - CVE-2026-108729 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108729
Vulnerability Analysis
Corteza is an open-source low-code platform that stores user-uploaded files as attachments scoped by Kind (for example record, page, icon, namespace). The REST layer exposes routes that take a kind path segment and an attachmentID. The handler loads the attachment by ID without confirming that its stored Kind matches the kind requested in the URL.
As a result, an attacker can request a private record attachment through the page, icon, or namespace routes. Those routes do not require authentication or signed URLs because the referenced kinds are considered publicly accessible. The permission checks tied to the record and its namespace are therefore never evaluated.
This is a classic authorization confusion flaw. The security boundary assumes that kind and attachmentID are consistent, but the server never enforces that assumption.
Root Cause
The root cause is a missing equality check between the URL kind parameter and the attachment's stored Kind after lookup. The function FindByID in server/compose/service/attachment.go returns the attachment by ID alone and does not filter by kind. The REST controller trusts the result without further validation.
Attack Vector
Exploitation requires only network access to the Corteza instance and knowledge or enumeration of an attachment ID. The attacker sends an unauthenticated HTTP GET to the attachment original or preview endpoint, substituting a public kind (page, icon, or namespace) in place of the private record or module kind that owns the file. The server returns the file bytes.
// Patch: server/compose/rest/attachment.go
// Fix enforces that the stored attachment Kind matches the requested Kind.
a, err := ctrl.attachment.FindByID(ctx, r.NamespaceID, r.AttachmentID)
+ if err == nil && a.Kind != r.Kind {
+ return nil, service.AttachmentErrNotFound()
+ }
+
return makeAttachmentPayload(ctx, a, err)
}
Source: Corteza commit 3b68aa30
// Patch: server/compose/rest/icon.go
// Fix validates that the icon handler only operates on IconAttachment kinds.
- _, err := ctrl.attachment.FindByID(ctx, 0, r.IconID)
+ a, err := ctrl.attachment.FindByID(ctx, 0, r.IconID)
if err != nil {
return nil, err
+ } else if a.Kind != types.IconAttachment {
+ return nil, service.AttachmentErrNotFound()
}
return api.OK(), ctrl.attachment.DeleteByID(ctx, 0, r.IconID)
Source: Corteza commit 3b68aa30
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-108729
Indicators of Compromise
- Unauthenticated HTTP GET requests to /compose/namespace/*/page/*/attachment/*/original/* or /preview/* returning HTTP 200 for arbitrary attachment IDs.
- Requests to attachment endpoints with kind values of page, icon, or namespace referencing attachment IDs that belong to private records or modules.
- Spikes in attachment downloads with no corresponding session cookie, bearer token, or signed URL parameter.
Detection Strategies
- Correlate web server access logs with Corteza audit logs for attachment reads that lack an authenticated user context.
- Alert on sequential or enumerated access to attachment IDs from a single source IP, which indicates ID bruteforcing.
- Flag any 200 response to /compose/.../attachment/.../original/ where the request path contains page, icon, or namespace but the originating client did not authenticate.
Monitoring Recommendations
- Enable verbose logging on the Corteza reverse proxy for all /compose/*/attachment/* routes, capturing method, path, status, and client IP.
- Forward Corteza and proxy logs to a centralized analytics platform and build dashboards that break down attachment reads by kind and authentication state.
- Monitor outbound bandwidth from the Corteza host for abnormal spikes that could indicate bulk attachment exfiltration.
How to Mitigate CVE-2026-108729
Immediate Actions Required
- Upgrade Corteza to a release that includes commit 3b68aa30c7261f729fcf8202f3eab9cf7d9168d3, which enforces attachment Kind validation.
- Restrict network exposure of the Corteza API to trusted networks or place it behind an authenticating reverse proxy until the patch is applied.
- Audit attachment access logs for prior unauthenticated reads against sensitive namespaces and records.
Patch Information
The upstream fix is published in the Corteza repository as commit 3b68aa30. It adds a Kind equality check after FindByID returns in both server/compose/rest/attachment.go and server/compose/rest/icon.go, causing mismatched requests to return AttachmentErrNotFound. Review the VulnCheck advisory and the HackMD technical analysis for additional context.
Workarounds
- Deploy a reverse-proxy rule that rejects unauthenticated requests to /compose/*/attachment/*/original/* and /preview/* paths.
- Block external access to the page, icon, and namespace kind routes if those features are not required by your deployment.
- Rotate or invalidate the IDs of sensitive attachments by re-uploading critical files after patching, since prior IDs may already be known to attackers.
# Example NGINX rule to require authentication on compose attachment endpoints
location ~ ^/compose/namespace/.+/(page|icon|namespace)/.+/attachment/.+/(original|preview)/ {
if ($http_authorization = "") {
return 401;
}
proxy_pass http://corteza_upstream;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

