Skip to main content
Vulnerability Database/CVE-2026-55836

CVE-2026-55836: Open Zaak Path Traversal Vulnerability

CVE-2026-55836 is a path traversal flaw in Open Zaak that allows attackers to access sensitive server files through manipulated CSV imports. This article covers the technical details, affected versions, and mitigation steps.

Published:

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-55836 Overview

Open Zaak is an open-source data and services layer used by Dutch municipalities for case-oriented working. A path traversal flaw in the _import_document_row function in src/openzaak/components/documenten/tasks.py allows an authenticated client to read arbitrary files on the server. The function accepts an attacker-controlled bestandspad CSV field without verifying that the resolved path stays under IMPORT_DOCUMENTEN_BASE_DIR. The Celery worker then copies the referenced file into document storage, where it becomes retrievable through the normal document download API. The flaw is tracked as [CWE-200] Information Exposure and affects versions from 1.13.0 up to the fixed releases 1.27.2, 1.28.2, and 1.29.0.

Critical Impact

An authenticated client holding an all-authorizations application token can exfiltrate any file readable by the Celery service account, including configuration files, secrets, and private documents.

Affected Products

  • Open Zaak versions 1.13.0 through 1.27.1
  • Open Zaak 1.28.0 and 1.28.1
  • Open Zaak pre-release 1.29.0 branches prior to the fixed 1.29.0 build

Discovery Timeline

  • 2026-10-16 - CVE-2026-55836 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-55836

Vulnerability Analysis

The vulnerability resides in the bulk document import pipeline. Open Zaak accepts a CSV file describing documents to import, with each row providing a bestandspad (file path) field. The task handler joins this value with settings.IMPORT_DOCUMENTEN_BASE_DIR using Python's Path operator and reads the resulting file.

Because Path("/absolute/path") discards any left-hand base when used with the / operator, supplying an absolute path such as /etc/passwd yields that path verbatim. A ..-based relative value produces a traversal above the intended base. The Celery worker then copies the referenced bytes into document storage and makes them available through the Documenten API, enabling retrieval.

Root Cause

The root cause is missing path containment validation. The original code performed no resolve() and no is_relative_to() check against the configured base directory, so the trust boundary between user-supplied input and the server filesystem was absent.

Attack Vector

Exploitation requires an application token with all-authorizations scope, which is reflected in the high privileges-required rating. The attacker submits a bulk import job whose CSV rows reference files outside IMPORT_DOCUMENTEN_BASE_DIR. After the worker processes the job, the attacker downloads the resulting documents through the standard API, exfiltrating any file readable by the Celery service account.

python
         return document_row
 
     file_path = document_row.bestandspad
-    path = Path(settings.IMPORT_DOCUMENTEN_BASE_DIR) / Path(file_path)
+
+    # Ensure the supplied file path is relative to the import base directory,
+    # if not, reject it, because otherwise any file can be exposed via the Documenten
+    # API
+    base = Path(settings.IMPORT_DOCUMENTEN_BASE_DIR).resolve(strict=True)
+    candidate = (base / file_path).resolve()
+    if not candidate.is_relative_to(base):
+        error_message = f"The given filepath {file_path} is not relative to the import base directory"
+        logger.warning(
+            "attempt_to_import_file_outside_base_dir",
+            path=str(file_path),
+            row_index=row_index,
+        )
+        document_row.comment = error_message
+        document_row.processed = True
+
+        return document_row
+
+    path = candidate
 
     if not path.exists() or not path.is_file():
         error_message = (

Source: GitHub Commit 4b23957

Detection Methods for CVE-2026-55836

Indicators of Compromise

  • Bulk import CSV rows with bestandspad values containing absolute paths (leading /) or parent-traversal sequences (..).
  • Celery worker log entries referencing files outside the configured IMPORT_DOCUMENTEN_BASE_DIR.
  • New documents in storage whose contents match system files such as /etc/passwd, .env configuration files, or TLS private keys.

Detection Strategies

  • Audit application token issuance and flag tokens with all-authorizations scope that submit bulk import jobs.
  • Review historical import job manifests for bestandspad values that do not resolve under the intended base directory.
  • Inspect subsequent document download activity for the user that submitted suspicious import jobs.

Monitoring Recommendations

  • Enable the attempt_to_import_file_outside_base_dir warning emitted by patched versions and forward it to a centralized log aggregator.
  • Alert on any Documenten API download whose source document was created by a bulk import rejected or flagged by the new validation.
  • Monitor filesystem access by the Celery service account for reads outside IMPORT_DOCUMENTEN_BASE_DIR.

How to Mitigate CVE-2026-55836

Immediate Actions Required

  • Upgrade Open Zaak to 1.27.2, 1.28.2, or 1.29.0 depending on the deployed branch.
  • Rotate any secrets, API keys, or credentials that may have been readable by the Celery service account on affected hosts.
  • Review and revoke all-authorizations application tokens that are not strictly required.

Patch Information

The fix resolves the configured base directory with Path.resolve(strict=True), resolves the candidate path, and rejects any input that is not is_relative_to(base). See the fixed releases Open Zaak 1.27.2, Open Zaak 1.28.2, Open Zaak 1.29.0, and the GHSA-x5cj-23hr-5r54 advisory.

Workarounds

  • Restrict issuance of all-authorizations application tokens and enforce least privilege on API clients.
  • Run the Celery worker under a service account with no read access to sensitive files outside the import base directory.
  • Place IMPORT_DOCUMENTEN_BASE_DIR on an isolated filesystem or chroot that contains no secrets or configuration data.
bash
# Example: tighten Celery service account filesystem access on systemd
# /etc/systemd/system/openzaak-celery.service.d/override.conf
[Service]
ReadWritePaths=/var/lib/openzaak/import
ProtectSystem=strict
ProtectHome=true
PrivateTmp=true

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.