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

CVE-2026-105684: Penpot Information Disclosure Vulnerability

CVE-2026-105684 is an information disclosure flaw in Penpot that allows share link holders to access comments and design content from restricted pages. This article covers technical details, affected versions, and mitigation.

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

CVE-2026-105684 is an information disclosure vulnerability in Penpot, an open-source design and prototyping platform. Versions prior to 2.18.0 fail to enforce page-scope restrictions on share links when handling comment-related Remote Procedure Call (RPC) commands. A holder of a page-scoped share link can retrieve comment threads and full comment bodies from other pages in the same file. The exposed data includes commenter names, email addresses, profile photos, and page identifiers. Those page identifiers can then be reused against affected page-reading functionality to access unshared design content. The flaw is tracked under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.

Critical Impact

Authenticated holders of a limited share link can enumerate commenter identities, read comment contents, and derive page identifiers that unlock unshared design content within the same file.

Affected Products

  • Penpot versions prior to 2.18.0
  • get-comment-threads, get-comment-thread, and get-comments RPC commands
  • Self-hosted and cloud Penpot deployments using page-scoped share links

Discovery Timeline

  • 2026-10-05 - CVE CVE-2026-105684 published to NVD
  • 2026-10-05 - Last updated in NVD database
  • Fix available - Penpot 2.18.0 released with enforcement of share-link page scope

Technical Details for CVE-2026-105684

Vulnerability Analysis

Penpot share links can be scoped to a specific subset of pages inside a file. The permission check check-comment-permissions! in backend/src/app/rpc/commands/files.clj validated that the caller held read or comment rights on the file but did not propagate the share link's page restriction to callers. As a result, the comment-retrieval RPC commands returned threads and comment bodies across all pages in the file, not just those exposed by the share link.

Beyond leaking commenter personally identifiable information (PII), the response contains page identifiers for pages the share link was never meant to expose. Those identifiers can be replayed against other page-reading endpoints to access design content outside the intended share scope.

Root Cause

The root cause is missing authorization context propagation. check-comment-permissions! returned a boolean-style allow/deny without surfacing the :pages set associated with a :share-link permission grant. The RPC handlers for get-comment-threads, get-comment-thread, and get-comments therefore had no way to filter results by the share link's page scope.

Attack Vector

An attacker needs a valid page-scoped share link that grants comment access (PR:L in the CVSS vector reflects the required low-privilege share token). The attacker invokes the comment RPC commands against the shared file and receives threads for every page in the file. The attacker then harvests :page-id values from the response and submits them to page-reading functionality to retrieve unshared design content.

The following unified diff shows the fix applied to backend/src/app/rpc/commands/comments.clj, which filters threads by the pages allowed in the share link:

clojure
    ::sm/params schema:get-comment-threads}
   [cfg {:keys [::rpc/profile-id file-id share-id] :as params}]
   (db/run! cfg (fn [{:keys [::db/conn] :as cfg}]
-                 (files/check-comment-permissions! cfg profile-id file-id share-id)
-                 (get-comment-threads conn profile-id file-id))))
+                 (let [perms (files/check-comment-permissions! cfg profile-id file-id share-id)
+                       threads (get-comment-threads conn profile-id file-id)]
+                   (if (= :share-link (:type perms))
+                     (filterv #(contains? (:pages perms) (:page-id %)) threads)
+                     threads)))))

Source: Penpot commit 6d9f411

The companion change in backend/src/app/rpc/commands/files.clj returns the full permission map, including the allowed pages, and tightens the comment check for :share-link grants:

clojure
 (defn check-comment-permissions!
   [cfg profile-id file-id share-id]
-  (let [perms       (perms/get-file-read-permissions cfg profile-id file-id share-id)
-        can-read    (has-read-permissions? perms)
-        can-comment (has-comment-permissions? perms)]
-    (when-not (or can-read can-comment)
+  (let [perms    (perms/get-file-read-permissions cfg profile-id file-id share-id)
+        allowed? (if (= :share-link (:type perms))
+                   (has-comment-permissions? perms)
+                   (or (has-read-permissions? perms)
+                       (has-comment-permissions? perms)))]
+    (when-not allowed?
       (ex/raise :type :not-found
                 :code :object-not-found
-                :hint "not found"))))
+                :hint "not found"))
+    perms))

Source: Penpot commit 6d9f411

Detection Methods for CVE-2026-105684

Indicators of Compromise

  • RPC calls to get-comment-threads, get-comment-thread, or get-comments that reference file-id and share-id values originating from external or unauthenticated sessions.
  • Responses containing page-id values that do not belong to the pages exposed by the referenced share link.
  • Subsequent page-read RPC calls using page-id values first observed in a comment RPC response.

Detection Strategies

  • Audit Penpot backend logs for sequential comment RPC calls followed by page-read calls originating from the same share-id session within a short time window.
  • Compare the :pages set associated with each share link against the page-id fields in comment RPC response payloads to identify scope violations.
  • Alert on single share-link sessions enumerating comment threads across more pages than the share link grants.

Monitoring Recommendations

  • Centralize Penpot application logs in a security data platform and retain share-link activity for retrospective analysis.
  • Track the ratio of comment RPC calls to page-read calls per share-link token to spot enumeration behavior.
  • Monitor the Penpot GitHub repository and the GHSA-fwm4-hm9f-rmcp advisory for additional guidance.

How to Mitigate CVE-2026-105684

Immediate Actions Required

  • Upgrade all Penpot instances to version 2.18.0 or later, which enforces share-link page scope for comment RPC commands.
  • Rotate or revoke existing page-scoped share links that may have been abused, especially those granting comment access.
  • Review access logs for the get-comment-threads, get-comment-thread, and get-comments endpoints and investigate suspicious share-link usage.

Patch Information

The fix is included in Penpot release 2.18.0. The code changes land in commit 6d9f411, which modifies check-comment-permissions! to return the permission map and updates the three affected RPC handlers to filter threads by the share link's :pages set.

Workarounds

  • Disable commenting on share links for sensitive files until the upgrade to 2.18.0 is complete.
  • Restrict share-link creation to trusted users and avoid issuing page-scoped share links against files that contain confidential cross-page content.
  • Segregate sensitive design content into separate Penpot files rather than relying on page-scope restrictions within a single file.
bash
# Upgrade a self-hosted Penpot deployment via Docker Compose
cd /opt/penpot
git fetch --tags
git checkout 2.18.0
docker compose pull
docker compose up -d
docker compose exec backend /opt/penpot/backend/scripts/version.sh

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.