Incorrect Privilege Assignment Affecting sd package, versions >=0.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-SD-14374858
  • published11 Dec 2025
  • disclosed10 Dec 2025
  • creditfaabbi

Introduced: 10 Dec 2025

NewCVE-2025-65807  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

There is no fixed version for sd.

Overview

Affected versions of this package are vulnerable to Incorrect Privilege Assignment via the sd command. An attacker can gain elevated privileges for a file's group by executing a specially crafted command.

Note:

This issue is exploitable in the bash environment, not in the zsh.

CVSS Base Scores

version 4.0
version 3.1