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-54657 Overview
Open Zaak is an open-source data and services layer used by Dutch municipalities for case-oriented working ("zaakgericht werken"). The platform exposes REST APIs for managing cases (zaken) and documents (enkelvoudiginformatieobjecten). CVE-2026-54657 is an authorization flaw [CWE-285] affecting the POST search endpoints /zaken/api/v1/zaken/_zoek and /documenten/api/v1/enkelvoudiginformatieobjecten/_zoek. These endpoints fail to filter result querysets against the authorizations tied to the request token. A caller holding a valid zaken.lezen or documenten.lezen token can retrieve case or document metadata outside the token's permitted case types or confidentiality levels. The issue is present from version 1.0.0 and is fixed in 1.27.2, 1.28.2, and 1.29.0.
Critical Impact
Authenticated API clients can enumerate case and document metadata beyond their authorized scope, exposing potentially sensitive municipal records.
Affected Products
- Open Zaak versions 1.0.0 through 1.27.1
- Open Zaak 1.28.0 and 1.28.1
- Open Zaak 1.29.0 pre-release branches
Discovery Timeline
- 2026-10-16 - CVE-2026-54657 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-54657
Vulnerability Analysis
Open Zaak enforces per-token authorization using scopes such as zaken.lezen and documenten.lezen, combined with authorized case types (zaaktype) and maximum confidentiality levels (vertrouwelijkheidaanduiding). For list endpoints, the ListFilterByAuthorizationsMixin restricts the queryset to records matching the token's authorizations.
The _zoek search endpoints bypass this filter. Because the viewset's get_queryset method returned the unfiltered base queryset for any action other than list, the POST-based search action (_zoek) received the full dataset. A client with a valid read token could submit a search body and receive metadata for cases or documents outside its authorized scope.
Document search requires knowledge of the target UUID, which limits mass enumeration, and the actual document binary content stays protected by a separate download authorization check. Case metadata, however, is directly readable through the search response.
Root Cause
The fix in src/openzaak/utils/data_filtering.py narrows the early-return branch so authorization filtering runs for _zoek as well as list:
def get_queryset(self):
base = super().get_queryset()
# django-loose-fk calls get_queryset on viewsets to resolve URLs to resources
# and in this case the request has no jwt_auth set
if not hasattr(self.request, "jwt_auth"):
return base
if self.action in ["retrieve", "create", "destroy", "update", "partial_update"]:
# Permission for these actions on singular items is checked in AuthRequired
# and AuthScopesRequired (src/openzaak/utils/permissions.py)
return base
Source: Open Zaak commit 4b429d3
Previously, only the list action was filtered. The patch now applies the authorization-based queryset filter to every action except retrieve, create, destroy, update, and partial_update, which have their own permission checks.
Attack Vector
An attacker needs a valid JWT with zaken.lezen or documenten.lezen scope for the target Open Zaak instance. The attacker then issues a POST request to the search endpoint with an empty or broad filter body. The server returns case or document metadata that falls outside the token's authorized zaaktype or confidentiality level, breaking tenant and clearance segmentation.
# Illustrative request against a vulnerable endpoint
POST /zaken/api/v1/zaken/_zoek HTTP/1.1
Host: open-zaak.example.nl
Authorization: Bearer <token with zaken.lezen>
Content-Type: application/json
{ "zaakgeometrie": { "within": { "type": "Polygon", "coordinates": [ ... ] } } }
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-54657
Indicators of Compromise
- POST requests to /zaken/api/v1/zaken/_zoek or /documenten/api/v1/enkelvoudiginformatieobjecten/_zoek returning records whose zaaktype or vertrouwelijkheidaanduiding is not listed in the caller's authorization profile.
- Unusual volumes of _zoek requests from a single client ID compared to historical baselines.
- Search responses containing case UUIDs that the same token cannot subsequently GET individually (indicating the search leaked metadata that singular-item permission checks still block).
Detection Strategies
- Correlate API gateway access logs with the issuing application's registered authorization profile and alert on _zoek responses that include out-of-scope zaaktype URLs.
- Enable Open Zaak audit logging (NotificationsConfig and request logging) and review responses from the two affected endpoints for the pre-patch period.
- Compare the authorization payload embedded in each JWT against the metadata fields in the response body to identify scope violations.
Monitoring Recommendations
- Forward Open Zaak application and reverse-proxy logs into a centralized SIEM for query-level inspection of _zoek endpoints.
- Baseline per-client request patterns and alert on sudden broadening of search filters or increased result-set sizes.
- Track installed Open Zaak versions across environments and flag any instance below 1.27.2, 1.28.2, or 1.29.0.
How to Mitigate CVE-2026-54657
Immediate Actions Required
- Upgrade Open Zaak to 1.27.2, 1.28.2, or 1.29.0 as appropriate for the deployed release branch.
- Review all Applicatie records in the admin interface and reduce zaken.lezen and documenten.lezen scopes to the minimum required set of case types and confidentiality levels.
- Rotate JWT client secrets for any application that interacted with the affected endpoints during the exposure window.
Patch Information
The fix is published in Open Zaak 1.27.2, 1.28.2, and 1.29.0. The code change is tracked in commits 15456f1, 4b429d3, and d3869af. Full details are in GHSA-f29q-7rpr-jmjx.
Workarounds
- Restrict network access to the _zoek endpoints at the reverse proxy or API gateway until the patch is applied.
- Temporarily tighten each application's authorization profile so that any scope leakage still returns a tightly bounded result set.
- Deny POST requests to the two affected URLs for client IDs that have no legitimate search workflow.
# nginx example: block the vulnerable search endpoints pre-patch
location ~ ^/(zaken|documenten)/api/v1/.+/_zoek$ {
if ($request_method = POST) {
return 403;
}
}
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

