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

CVE-2026-113595: Sharkord Authorization Bypass Vulnerability

CVE-2026-113595 is an authorization bypass flaw in Sharkord that lets authenticated users modify the server logo without proper permissions. This post explains its impact, 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-113595 Overview

CVE-2026-113595 is a missing authorization vulnerability [CWE-862] affecting Sharkord versions prior to 0.0.26. The flaw resides in the others.changeLogo tRPC mutation on the Sharkord server. Any authenticated member can invoke the mutation and replace the server logo without holding the MANAGE_SETTINGS permission. The replacement image is broadcast to every connected client in real time.

Critical Impact

Authenticated low-privilege users can overwrite server branding and push attacker-controlled images to all connected clients, enabling defacement and potential social engineering.

Affected Products

  • Sharkord server versions prior to 0.0.26
  • apps/server/src/routers/others/change-logo.ts tRPC router
  • Deployments exposing the others.changeLogo mutation to authenticated members

Discovery Timeline

  • 2026-10-20 - CVE-2026-113595 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-113595

Vulnerability Analysis

Sharkord exposes a tRPC router at apps/server/src/routers/others/change-logo.ts that handles server logo updates. In versions up to 0.0.25, the mutation handler validated the caller's session but did not check whether the caller held the MANAGE_SETTINGS permission. The mutation removes the current logo file through removeFile, writes the uploaded image, and calls updateSettings to persist the change. The server then publishes the new logo to every connected client subscribed to settings updates.

The vulnerability belongs to the Broken Access Control class and is tracked under CWE-862: Missing Authorization. An attacker only needs valid member credentials on the target Sharkord instance to invoke the mutation.

Root Cause

The handler relied on authentication alone and omitted a permission check against Permission.MANAGE_SETTINGS before mutating server state. The pre-patch source is available in the vulnerable change-logo.ts.

Attack Vector

An authenticated member sends a others.changeLogo tRPC request with a crafted image payload. The server deletes the existing logo, stores the attacker's image, and pushes the change to all clients. No administrator interaction is required.

typescript
// Patch diff from apps/server/src/routers/others/change-logo.ts
// Commit fd15061eaf366c7150325780a2d7b4b452f1134f
-import { FileSaveType } from '@sharkord/shared';
+import { FileSaveType, Permission } from '@sharkord/shared';
 import z from 'zod';
 import { removeFile } from '../../db/mutations/files';
 import { updateSettings } from '../../db/mutations/server';

Source: GitHub commit fd15061. The patch imports the Permission enum and enforces MANAGE_SETTINGS before allowing the mutation to proceed.

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 Attacks

Detection Methods for CVE-2026-113595

Indicators of Compromise

  • Unexpected others.changeLogo tRPC mutation calls originating from accounts without the MANAGE_SETTINGS role.
  • Server logo file replaced on disk without a corresponding administrator audit entry.
  • Broadcast settings updates to clients with new logo URLs that do not match approved branding assets.

Detection Strategies

  • Inspect tRPC request logs for others.changeLogo calls and correlate the caller's user ID against the role membership for MANAGE_SETTINGS.
  • Alert when the server logo file hash changes outside of scheduled branding updates or deployment windows.
  • Review Sharkord server version banners and package manifests to identify instances running versions earlier than 0.0.26.

Monitoring Recommendations

  • Enable verbose audit logging on all tRPC mutations under the others router and ship logs to a central store for retention.
  • Monitor file write events in the Sharkord uploads directory for creations and deletions of logo assets.
  • Track client-side settings subscription payloads for logo URL changes and compare against an allow-list.

How to Mitigate CVE-2026-113595

Immediate Actions Required

  • Upgrade Sharkord to version 0.0.26 or later, which enforces the MANAGE_SETTINGS permission on others.changeLogo.
  • Audit server member rosters and remove any accounts that should not retain write access to the Sharkord instance.
  • Restore the approved logo asset from backup if an unauthorized replacement is detected.

Patch Information

The fix ships in Sharkord v0.0.26. The code change is documented in commit fd15061 and tracked in issue #851 and issue #387. Full advisory details are in the VulnCheck advisory.

Workarounds

  • Place the Sharkord server behind a reverse proxy that blocks or rate-limits the others.changeLogo tRPC path for non-administrator sessions until the upgrade is applied.
  • Reduce the authenticated member base to trusted operators only while the instance remains on a vulnerable version.
  • Deploy a short-term patch that adds a Permission.MANAGE_SETTINGS check in change-logo.ts, mirroring the upstream fix.
bash
# Upgrade Sharkord server to the patched release
cd apps/server
pnpm up @sharkord/server@0.0.26
pnpm install
pnpm build
# Restart the server process (example using pm2)
pm2 restart sharkord-server

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.