BreachSpiderVerified, not vibes

CVE-2016-7076 in Sudo Project Sudo

High 7.8

sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to execute arbitrary comm...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.07.8
EPSS0.5%
EPSS percentile32th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Sudo Project Sudo ≥ 1.6.8, ≤ 1.8.18

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to execute arbitrary commands with elevated privileges.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2016-7076
BreachSpider IDBS-2018-GLOBAL-112106-H
CVSS vectorCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2018-05-29
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-77: Command Injection

Attacker injects operating system commands through application inputs passed to a shell or system call.

CWE-184: CWE-184

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-184

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77, CWE-184

CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-184

CAPEC-76 Manipulating Web Input to File System Calls via CWE-77

CAPEC-85 AJAX Footprinting via CWE-184

Show all 15

CAPEC-120 Double Encoding via CWE-184

CAPEC-6 Argument Injection via CWE-184

CAPEC-15 Command Delimiters via CWE-77, CWE-184

CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77

CAPEC-73 User-Controlled Filename via CWE-184

CAPEC-75 Manipulating Writeable Configuration Files via CWE-77

CAPEC-136 LDAP Injection via CWE-77

CAPEC-182 Flash Injection via CWE-184

CAPEC-183 IMAP/SMTP Command Injection via CWE-77

CAPEC-248 Command Injection via CWE-77

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2018. A high severity vulnerability affects Sudo Project systems (CVE-2016-7076). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C library function with a user supplied argument. A local user permitted to run such application via sudo with noexec restriction could possibly use this flaw to execute arbitrary commands with elevated privileges. CVSS vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Questions

What is CVE-2016-7076?

This vulnerability was disclosed in 2018. A high severity vulnerability affects Sudo Project systems (CVE-2016-7076). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2016-7076?

CVE-2016-7076 has CVSS 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.5%.

Is CVE-2016-7076 actively exploited?

No confirmed active exploitation of CVE-2016-7076 as of 2026-09-25.

How do I remediate CVE-2016-7076?

Priority: MEDIUM.

What systems are affected by CVE-2016-7076?

CVE-2016-7076 affects Sudo Project Sudo.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Sudo Project","product":"Sudo","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.