KEVWire

Security intelligence, with context.

Response snapshot Oct 27, 2026, 16:01 UTC

Back to the wire
Permalink
VulnerabilityGHSA-fmmf-xq98-g327

Vikunja: Write-level project members can delete admin-tier link shares through an unloaded permission check

A project member with Write permission can delete an admin-tier link share on that project. The deletion authorization check reads the permission from an object populated only with URL IDs, rather than from the stored share.

At a glance

Exploited
Not known
Severity
Not scored yet
Chance of exploitation
Not estimated
Sources
1 source

What to do

GitHub lists first patched versions: code.vikunja.io/api: 2.7.0. Confirm the affected range and upgrade guidance in the exact advisory.

Read GitHub-reviewed advisory GHSA-fmmf-xq98-g327 (opens a new tab)

What happened

## Summary

A project member with Write permission can delete an admin-tier link share on that project. The deletion authorization check reads the permission from an object populated only with URL IDs, rather than from the stored share. Its zero value is Read, so the check falls through to project Write permission instead of requiring Admin.

## Details

Affected endpoints:

Continue reading

- `DELETE /api/v1/projects/{project}/shares/{share}` - `DELETE /api/v2/projects/{project}/shares/{share}`

Older v1 releases used `/lists/{list}/shares/{share}` before lists were renamed to projects.

In `pkg/routes/api/v2/link_sharing.go:156`, the delete handler passes `&models.LinkSharing{ID: in.ID, ProjectID: in.ProjectID}` to `handler.DoDelete`. The v1 generic handler likewise binds the URL IDs without loading the stored share.

`pkg/web/handler/core.go:185` calls `CanDelete` before `Delete`. `LinkSharing.CanDelete` delegates to `canDoLinkShare` in `pkg/models/link_sharing_permissions.go`. That helper loads the project but does not load the link share, then evaluates:

```go if share.Permission == PermissionAdmin { return l.IsAdmin(s, a) } return l.CanWrite(s, a) ```

On deletion, `share.Permission` is its Go zero value, `PermissionRead` (0), even when the stored share grants `PermissionAdmin` (2). A Write member therefore passes authorization. `LinkSharing.Delete` subsequently deletes by share ID and project ID without checking the stored permission.

Create uses the requested permission and correctly rejects Write members creating admin shares. Share listing and by-ID reads are admin-gated in current main. There is no HTTP update route for link shares. Read-only members and link-share principals are rejected on deletion.

## Affected versions and verification

The admin-tier check was introduced in commit `56dbb564eae83f2453efd1049f55e9d099b5d346`, first included in v0.13, without loading the stored share on deletion. The affected range established by this review is `>= 0.13.0, <= 2.6.0`; versions before v0.13 have not been assessed here. The v2 route was added in `b10768506`, first included in v2.4.0.

The reporter states that both API versions were verified live against a local source build at `a881ac39eecd07575a5aede8e74727c28d5fd578` on September 7, 2026. Maintainer-side source review confirmed the mechanism in that commit, release v2.6.0, and upstream main at `a1a6ca48be142902f09fee62734310cb98a8c414`. The live proof of concept was not independently rerun during this triage. No patched version is available at draft creation.

## Impact

A Write collaborator can revoke an admin-tier access link on a project they can already write to. New consumers can no longer authenticate with that link. In versions with database-backed link-share JWT validation, deleting the share also immediately invalidates its existing sessions; the reporter observed HTTP 404 for a new hash exchange and HTTP 401 for an existing share token.

This is a bounded integrity and availability impact on external access to that project. It does not disclose data, grant Admin privileges, allow deletion of another project's shares, or permit the attacker to create a replacement admin share. The attacker must know or guess the numeric share ID; IDs are sequential.

Severity: Medium. CWE-863: Incorrect Authorization.

## Proof of concept

Use two regular accounts on an instance you control. Let `OWNER_TOKEN` and `WRITER_TOKEN` be their session tokens. Create a project as the owner, grant the second account Write permission (`permission: 1`), and create an admin-tier share as the owner (`permission: 2`). Let `PROJECT_ID` and `SHARE_ID` identify that project and share.

First, verify that the Write member cannot create an admin-tier share:

```sh curl -i -X POST "$BASE/api/v2/projects/$PROJECT_ID/shares" \ -H "Authorization: Bearer $WRITER_TOKEN" \ -H 'Content-Type: application/json' \ -d '{"permission":2}' # Expected and reported: 403 ```

Delete the owner's admin-tier share as the same Write member:

```sh curl -i -X DELETE "$BASE/api/v2/projects/$PROJECT_ID/shares/$SHARE_ID" \ -H "Authorization: Bearer $WRITER_TOKEN" # Reported: 204; expected: 403 and the share remains intact ```

Recreate the admin-tier share as the owner and repeat with the v1 endpoint:

```sh curl -i -X DELETE "$BASE/api/v1/projects/$PROJECT_ID/shares/$SHARE_ID" \ -H "Authorization: Bearer $WRITER_TOKEN" # Reported: 200 with {"message":"Successfully deleted."}; expected: 403 ```

With the collaborator downgraded to Read, deletion returns 403. These positive and negative controls were reported as verified live by the reporter.

## Recommended fix

For deletion, load the stored share scoped to both the requested share ID and project ID before authorizing. Require project Admin when the stored permission is Admin, and retain the intended Write rule for ordinary read/write shares. Preserve the existing cross-project constraint.

Keep creation authorization based on the requested tier. If update support is added, check both the stored tier and the requested new tier so neither demotion nor promotion can bypass the admin check.

Add regression coverage for a Write member being forbidden to delete an admin-tier share, an Admin being allowed, intended ordinary-share deletion, rejection of Read members and link-share principals, and mismatched project/share IDs. Cover both API versions.

## Related advisories

- [GHSA-f95f-77jx-fcjc / CVE-2026-33700](https://github.com/go-vikunja/vikunja/security/advisories/GHSA-f95f-77jx-fcjc) addressed cross-project deletion. Fix `654d2c704` constrained deletion by `project_id` but did not change the permission-tier check. - [GHSA-qfwc-vx6f-3g6g](https://github.com/go-vikunja/vikunja/security/advisories/GHSA-qfwc-vx6f-3g6g) addressed share-hash disclosure through by-ID reads.

- [GHSA-8hp8-9fhr-pfm9](https://github.com/go-vikunja/vikunja/security/advisories/GHSA-8hp8-9fhr-pfm9) addressed share-hash disclosure through listing. - [GHSA-96q5-xm3p-7

Affected package ranges reported by GitHub: code.vikunja.io/api: >= 0.13.0, <= 2.6.0

Related technology

Sources

  1. Primary source

    GitHub-reviewed advisory GHSA-fmmf-xq98-g327 (opens a new tab)

    The public advisory supplies the description, affected package/version ranges, and any listed CVSS metric. GitHub review is not local review.

    Published Checked

  2. Primary source

    GitHub public advisory API page (opens a new tab)

    The API page supplied GHSA-fmmf-xq98-g327, its actual identifiers, source dates, and structured metrics.

    Published Date not suppliedChecked

Cite this record

For factual claims, cite the primary sources above; cite KEVWire for its compilation, dates, and classifications.

APA

KEVWire. (2026, October 27). Vikunja: Write-level project members can delete admin-tier link shares through an unloaded permission check. https://kevwire.com/record/GHSA-fmmf-xq98-g327

MLA

"Vikunja: Write-level project members can delete admin-tier link shares through an unloaded permission check." KEVWire, 27 Oct. 2026, kevwire.com/record/GHSA-fmmf-xq98-g327.

Chicago

KEVWire. "Vikunja: Write-level project members can delete admin-tier link shares through an unloaded permission check." Last modified October 27, 2026. https://kevwire.com/record/GHSA-fmmf-xq98-g327.

Evidence summary (plain text)

Vikunja: Write-level project members can delete admin-tier link shares through an unloaded permission check (Oct 9, 2026).
A project member with Write permission can delete an admin-tier link share on that project. The deletion authorization check reads the permission from an object populated only with URL IDs, rather than from the stored share. Its zero value is Read, so the check falls through to project Write permission instead of requiring Admin.

Affected endpoints:
Sources:
GitHub-reviewed advisory GHSA-fmmf-xq98-g327: https://github.com/advisories/GHSA-fmmf-xq98-g327
GitHub public advisory API page: https://api.github.com/advisories?type=reviewed&per_page=100&sort=updated&direction=desc
Record ID: GHSA-fmmf-xq98-g327.
Record origin: Ingested record.
AI evidence: Not assessed.
Known exploitation: Not assessed.
Zero-day status: Not assessed. KEV membership alone does not establish zero-day status.
About this data

This record was ingested from a data source. Retrieved: Oct 27, 2026, 16:00 UTC. Ingestion is not an independent editorial investigation.

A CISA KEV listing documents known exploitation, not necessarily a zero-day; absence from the catalog does not prove a vulnerability has never been exploited.

Technology tags indicate possible relevance, not verified exposure. Confirm the affected product, version, and configuration against your own inventory; KEVWire does not scan your systems.

A personal reading checklist on this device, not verified remediation.

Record JSON

Your account

Email alerts

Email alerts are not available yet. To follow your stack today, use its RSS feed, which honors your filters, or connect an AI agent through the API.

Suggest an improvement

Ideas, missing sources, corrections, and bugs are all welcome. No account needed. Suggestions are reviewed by a person before anything changes.

Record details

Record detail