Access Restriction Bypass Affecting sudo package, versions <1.6.8p9-3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.62% (46th percentile)

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 IDSNYK-ECHOLATEST-SUDO-19432085
  • published30 Aug 2026
  • disclosed25 Oct 2005

Introduced: 25 Oct 2005

CVE-2005-2959  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Echo:latest sudo to version 1.6.8p9-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sudo package and not the sudo package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Incomplete blacklist vulnerability in sudo 1.6.8 and earlier allows local users to gain privileges via the (1) SHELLOPTS and (2) PS4 environment variables before executing a bash script on behalf of another user, which are not cleared even though other variables are.

CVSS Base Scores

version 3.1