Skip to content
IDOR Write-up Beginner

Uncovering CVE-2026–105692: Why No Security Flaw Is Too Small t

A share-link deletion endpoint checked only that the caller had general edit rights on the file, not that the caller owned the specific share-link. Any authenticated editor could therefore delete share-links created by other users, revoking external reviewers' access without warning.

Jsrini Follow

Published on medium.com

Cyber Security Awareness

Jsrini, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Context

Penpot is an open-source design and prototyping platform with collaborative features. In collaborative environments, users frequently generate share-links to grant external reviewers or clients view-only access to specific project files. The feature under examination is the management of those share-links: creating them, listing the active ones attached to a file, and deleting them.

The researcher was not running an intentional penetration test or actively hunting for bugs. He was simply using Penpot for standard work, and the finding came out of ordinary use of the platform's collaborative features.

Setup

The preconditions it does state are:

  • An authenticated account on the platform.
  • Standard "edit" rights on a target file. No higher privilege is needed.
  • The target file has at least one share-link created by another user, for example the file owner or a higher-privileged team member.

The attack path is described as requiring low privileges and no complex exploitation chains.

Finding it

While working within the platform's collaborative features, a minor detail in how shared resources were managed caught the researcher's attention. The observation was that when a user attempted to delete a share-link, the application verified that the user held general "edit" permissions on the overall file, but it completely skipped checking whether the caller actually owned or created the specific share-link being deleted.

That gap is what made the behaviour look wrong: the permission check was attached to the parent object (the file) rather than to the object being acted on (the link).

Exploitation

Step 1: Discovery

An authenticated user with standard editor rights queries the platform for active share-links linked to a target file.

Step 2: Extraction

The platform returns the active links, inadvertently exposing the resource IDs of links created by higher-privileged team members. The listing itself is the information leak that makes the next step possible: the editor learns the identifiers of links he did not create.

Step 3: Execution

The editor issues a deletion request using another user's share-link ID. The backend executes the request without checking ownership.

Step 4: Impact

The link is revoked instantly, cutting off external stakeholder access without warning.

Root cause

The mistake is an authorization check performed at the wrong level of the object hierarchy. Deleting a share-link is an operation on the link resource, but the only check applied was the caller's general edit permission on the parent file. Ownership or creation of the specific link was never verified.

This is a classic Insecure Direct Object Reference (IDOR): the link's identifier is exposed to the caller through the listing, and the deletion endpoint accepts that identifier without binding it to the caller's identity.

The design assumption behind it is a flat trust model, in which all team members assigned an editor role implicitly trust one another. The researcher notes that in many collaborative tools this is initially treated as "expected behaviour". The existing defence, the file-level edit check, did not stop the attack because the attacker legitimately holds that permission; the check simply does not cover the resource being modified.

Impact

An authenticated user with standard edit rights on a file can delete any share-link associated with that file, regardless of who originally generated it. In practice:

  • An editor could silently delete a share-link created by the file owner.
  • External reviewers and clients using that link would suddenly be met with a 404 error.
  • The link creator would have no visibility into why or how the access was revoked, leading to confusion and broken collaboration.

The issue did not allow unauthorized reading of confidential data. It carried a Medium impact rating for Integrity and Availability, due to its ability to disrupt time-sensitive design workflows.

Fix

The report does not describe the patch itself. It records that the issue was responsibly disclosed, that it resulted in a meaningful fix for the platform, and that an official CVE identifier, CVE-2026-105692, was assigned weeks later. The report links to the Penpot GitHub security advisory GHSA-8257-pm4f-cfhq. and the CVE is indexed by MITRE, NVD, Tenable, Rapid7, VulDB, OpenCVE, Exploit-Intel, CVE Feed and Vulmon.

By the logic of the finding, a fix would need an ownership check on the specific share-link at deletion time, in addition to the file-level edit permission.

Variants to test

  • Sibling operations on the same resource type. Try updating, regenerating or re-scoping a share-link created by another user, not just deleting it. A positive result is a successful state change on a link whose creator is a different account.
  • Other child objects under a file. Comments, versions, exports, embedded assets and invitations often inherit the parent's permission check. A positive result is any write or delete on a child object created by another user while holding only edit rights on the parent.
  • Listing endpoints as the leak. Check whether any endpoint that lists resources returns identifiers of objects the caller cannot modify. A positive result is an ID in a listing response that is then accepted by a write endpoint.
  • Role boundaries below editor. Repeat the deletion with a viewer or commenter account to see whether the file-level check is the only gate. A positive result is a successful deletion by a role that should not be able to modify the file at all.
  • Cross-team or cross-organisation identifiers. Supply a share-link ID belonging to a file the caller cannot access. A positive result is a different error than the one returned for a non-existent ID, which indicates the object is resolved before authorization.
  • Flat trust assumptions in other collaborative tools. The same pattern applies to any product where a parent-level permission is used as a proxy for ownership of a child resource. A positive result is a silent revocation of access for a third party, observed as a 404 for the link holder.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 9 min read.

What happened, in plain words

A security researcher was using Penpot, a free and open-source design and prototyping tool that teams use to draw screens and share them with other people. He was not hired to test it and he was not running a planned security assessment. He was just doing normal work, and a small detail in the way the tool handled shared links caught his eye.

That small detail turned out to be a real security weakness. He reported it responsibly, the project fixed it, and a few weeks later the weakness was given an official public identifier, CVE-2026-105692. A CVE is a public identifier for a known security flaw, so the whole industry can look it up.

The lesson he draws is simple: a flaw does not have to be dramatic to matter, and free software deserves the same careful attention as the products of the biggest companies.

The product and the feature

Penpot is a collaborative design platform. Think of it as a shared drawing board where several people can work on the same file at once. Because teams often need to show work to people outside the team, such as a client or an external reviewer, the platform lets you create a share-link: a special web address that gives whoever holds it access to one specific file, often view-only.

Managing those links means three everyday actions:

  1. Creating a link.
  2. Listing the links that are currently active on a file.
  3. Deleting a link when it is no longer needed.

The researcher was looking at this third action, deletion, and at who is allowed to do it.

The subtle flaw: file permissions versus link ownership

Here is the situation in plain terms. A file has an owner, and it has other people who were given the right to edit it. Separately, each share-link was created by some particular person.

When someone asked the platform to delete a share-link, the platform checked one thing: does this person have general edit rights on the file? It never checked the second thing: did this person create the link being deleted, or own it?

That gap is the whole bug. The permission check was attached to the parent object, the file, instead of the object actually being acted on, the link. A useful comparison: a building manager may have a master key to the building, but that does not mean the manager should be able to throw away a tenant's personal belongings. The manager's access to the building is real, but it is not the same as owning the item.

Because of this gap, any logged-in user with ordinary edit rights on a file could delete any share-link attached to that file, no matter who had created it.

Why this was not just "expected behaviour"

Many collaborative tools start from what is called a flat trust model: everyone given an editor role is assumed to trust everyone else with that same role. Under that assumption, one editor deleting another editor's link looks like normal teamwork.

In real teams, though, that assumption quietly creates risk:

  • An editor could silently delete a share-link created by the file owner.
  • External reviewers and clients using that link would suddenly be met with a 404 error, the standard web message for "this page does not exist".
  • The person who created the link would have no way of knowing why or how access disappeared, which leads to confusion and broken collaboration.

Once you see that a flat permission model fails to protect the integrity of a resource, the issue stops looking like a minor convenience quirk and becomes a recognised vulnerability class: an Insecure Direct Object Reference, or IDOR. In an IDOR, an application lets you name an object directly, by its identifier, and then acts on it without properly checking that the object is yours to touch. A comparison: a cloakroom that hands out numbered tickets, but gives you back whatever coat matches the number you say, even if the ticket is not yours.

How the vulnerability played out

The attack path was simple. It needed low privileges and no complicated chain of steps.

  1. Discovery. A logged-in user with standard editor rights asks the platform for the active share-links attached to a target file.
  2. Extraction. The platform returns the active links, and in doing so reveals the identifiers of links created by higher-privileged team members.
  3. Execution. The editor sends a deletion request using another user's share-link identifier.
  4. Impact. The backend, the server side of the application, carries out the request without checking ownership, and external stakeholder access is revoked instantly and without warning.

A word on the terms in step 3. An identifier (often called an ID) is the unique label a system uses internally to refer to one particular object, such as one specific link. When the listing in step 2 hands those labels back to the editor, the editor learns the names of links he never created. Step 3 then simply uses one of those names in a delete request. The server recognises the name, finds the matching link, and deletes it, because it never asks "does this person have the right to delete this particular link?".

Root cause

The mistake is an authorization check performed at the wrong level of the object hierarchy. Deleting a share-link is an operation on the link, but the only check applied was the caller's general edit permission on the parent file. Ownership or creation of the specific link was never verified.

This is a classic IDOR: the link's identifier is exposed to the caller through the listing, and the deletion endpoint accepts that identifier without tying it to the caller's identity.

The design assumption behind it is the flat trust model described above. The existing defence, the file-level edit check, did not stop the attack, because the attacker legitimately holds that permission. The check simply does not cover the resource being modified.

Impact

A logged-in user with standard edit rights on a file can delete any share-link associated with that file, regardless of who generated it. In practice:

  • External reviewers and clients using that link would suddenly be met with a 404 error.
  • The link creator would have no visibility into why or how access was revoked, leading to confusion and broken collaboration.

The issue did not allow unauthorised reading of confidential data. It carried a Medium impact rating for Integrity and Availability, because it can disrupt time-sensitive design workflows. Those two words come from the standard way security people describe impact: integrity means data staying correct and unchanged, and availability means the service staying reachable for the people who need it. Here, the link was deleted and stopped working, which touches both.

Fix

The report does not describe the patch itself. It records that the issue was responsibly disclosed, that it led to a meaningful fix for the platform, and that an official CVE identifier, CVE-2026-105692, was assigned weeks later. The report links to the Penpot GitHub security advisory GHSA-8257-pm4f-cfhq. and the CVE is indexed by MITRE, NVD, Tenable, Rapid7, VulDB, OpenCVE, Exploit-Intel, CVE Feed and Vulmon.

By the logic of the finding, a fix would need an ownership check on the specific share-link at deletion time, in addition to the file-level edit permission. In everyday terms: before throwing the coat away, check that the ticket is actually yours.

Variants to test

If you want to look for the same pattern elsewhere, these are the directions the researcher suggests. Each one comes with the sign that tells you something real was found.

  • Sibling operations on the same resource type. Try updating, regenerating or re-scoping a share-link created by another user, not just deleting it. A positive result is a successful state change on a link whose creator is a different account.
  • Other child objects under a file. Comments, versions, exports, embedded assets and invitations often inherit the parent's permission check. A positive result is any write or delete on a child object created by another user while holding only edit rights on the parent.
  • Listing endpoints as the leak. Check whether any endpoint that lists resources returns identifiers of objects the caller cannot modify. A positive result is an ID in a listing response that is then accepted by a write endpoint.
  • Role boundaries below editor. Repeat the deletion with a viewer or commenter account to see whether the file-level check is the only gate. A positive result is a successful deletion by a role that should not be able to modify the file at all.
  • Cross-team or cross-organisation identifiers. Supply a share-link ID belonging to a file the caller cannot access. A positive result is a different error than the one returned for a non-existent ID, which indicates the object is resolved before authorisation.
  • Flat trust assumptions in other collaborative tools. The same pattern applies to any product where a parent-level permission is used as a proxy for ownership of a child resource. A positive result is a silent revocation of access for a third party, observed as a 404 for the link holder.

An endpoint is simply one address on a server that performs one job, like a service counter in a large office: one counter for listing links, another for deleting them. When people say "the listing endpoint", they mean the counter you go to when you want to see the list.

Glossary

  • API: the set of addresses and rules a program exposes so other programs (or a browser) can ask it to do things, such as list or delete a link.
  • Authentication: proving who you are, usually by logging in.
  • Authorisation: deciding what a proven user is allowed to do.
  • Availability: the property of a service staying reachable and usable for the people who need it.
  • Backend: the server-side part of an application that stores data and carries out requests.
  • CVE: a public catalogue identifier for a known security vulnerability, so people can look it up consistently.
  • CVSS: a standard scoring system for the severity of a vulnerability; the report gives a Medium rating but no numeric score.
  • Endpoint: one specific address on a server that performs one specific job.
  • Flat trust model: a design where everyone with the same role is assumed to trust everyone else with that role.
  • 404 error: the standard web response meaning the requested page or resource does not exist.
  • GHSA: GitHub Security Advisory, the identifier GitHub uses for advisories published on its platform.
  • HTTP request: the message a browser or tool sends to a server to ask it to do something.
  • IDOR (Insecure Direct Object Reference): a flaw where an application lets a user name an object directly by its identifier and acts on it without checking that the object belongs to that user.
  • Identifier (ID): the unique internal label a system uses to refer to one particular object.
  • Integrity: the property of data staying correct and unaltered.
  • Parent object / child object: a hierarchy where one object (the file) contains or owns others (its share-links, comments, versions).
  • Penpot: an open-source design and prototyping platform with collaborative features.
  • Permission check: the step where the application verifies that the current user is allowed to perform the requested action.
  • Privilege: the level of access an account has, such as viewer, commenter or editor.
  • Responsible disclosure: reporting a security flaw privately to the people who can fix it, rather than publishing it or abusing it.
  • Share-link: a special web address that grants access to one specific file, often view-only, to whoever holds it.
  • Vulnerability: a weakness in software that can be used to make it behave in a way its designers did not intend.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.