Kernel Kit / Infix / v26.10.0latest
CVE-2026-82474
8.5highsudo1.9.17p2 · 1.9.17p1 · 1.9.15p5in 4 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach sudo · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
Sudo through 1.9.17p2 fails to apply intercept policy checks to the execveat system call in ptrace-based intercept mode. Users permitted to run specific commands can execute denied programs by calling execveat directly or through fexecve, bypassing policy enforcement and logging.
Published 2026-08-29NVD
CVSS 4.0Local · low privileges · no user interaction
How it is reached
- Attack vector
- Local
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
What it costs
- Confidentiality
- High
- Integrity
- High
- Availability
- High
What it costs other systems
- Confidentiality
- None
- Integrity
- None
- Availability
- None
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Fable 5.2 · medium confidence · 2026-11-19
The unfixed code is in this build: ptrace_intercept_execve() in output/build/sudo-1.9.17p2/src/exec_ptrace.c returns "allow" for execveat without a policy check, and the ptrace intercept path is compiled into the installed sudo binary on x86_64.
It is not reachable on a shipped device. The path only runs when sudoers enables intercept mode (Defaults intercept, Defaults log_subcmds, or an INTERCEPT: tag), and the shipped policy sets none of these. The only rules give root, %sudo and %wheel unrestricted ALL, so there is no restricted-command policy to bypass.
No YANG node, CLI command or web UI setting writes sudoers content; src/confd contains no reference to sudoers. Reaching the code would require someone with a root shell to hand-edit /etc/sudoers or /etc/sudoers.d/ to add both a restricted command rule and intercept mode. The issue is local only (AV:L) and not reachable from a network interface.
Evidence 12
In `ptrace_intercept_execve()`, `case __NR_execveat:` (and `X32_execveat`) carries the comment "We don't currently check execveat(2)." and returns true, so the call is allowed without a policy check. The fix is absent.
output/build/sudo-1.9.17p2/src/exec_ptrace.c:1777-1780
The same unchecked allow applies to `COMPAT_execveat` for 32-bit compat processes.
output/build/sudo-1.9.17p2/src/exec_ptrace.c:1754-1757
The seccomp filter does trap `__NR_execveat` with `SECCOMP_RET_TRACE`, but the handler above waves it through.
output/build/sudo-1.9.17p2/src/exec_ptrace.c:1199-1206
Only one patch is applied, `0001-exec-mailer-set-group-as-well-as-uid-when-running-the-mailer.patch`, which is unrelated to `execveat`. There is no `patches/sudo` directory in the tree.
output/build/sudo-1.9.17p2/.applied_patches_list
`HAVE_PTRACE_INTERCEPT` is defined when `_PATH_SUDO_INTERCEPT` is set, the target is Linux and `HAVE_DECL_SECCOMP_MODE_FILTER` is true.
output/build/sudo-1.9.17p2/src/sudo_exec.h:166-174
`HAVE_DECL_SECCOMP_MODE_FILTER` is 1. With `_PATH_SUDO_INTERCEPT` set at `output/build/sudo-1.9.17p2/pathnames.h:168` and `BR2_x86_64=y` at `output/.config:49`, ptrace intercept is compiled.
output/build/sudo-1.9.17p2/config.h:194
`exec_ptrace.o` and `exec_intercept.o` are in the `sudo` object list. The installed `output/target/usr/bin/sudo` contains the strings `ptrace_intercept_execve`, `exec_ptrace_seize` and "unable to set seccomp filter".
output/build/sudo-1.9.17p2/src/Makefile:148-149
`BR2_PACKAGE_SUDO=y`, selected directly by `configs/x86_64_defconfig:104` as a target package.
output/.config:3684
`SUDO_CONF_OPTS` has no option that disables intercept or ptrace support, and there is no `IGNORE_CVES` entry for this CVE.
buildroot/package/sudo/sudo.mk:21-28
The active lines are `secure_path`, a visudo `env_keep`, `root ALL=(ALL:ALL) ALL`, `%sudo ALL=(ALL:ALL) ALL` and `@includedir /etc/sudoers.d`. There is no `intercept`, `log_subcmds` or `INTERCEPT:` tag, and no restricted command list.
output/target/etc/sudoers
`%wheel ALL=(ALL:ALL) NOPASSWD: ALL` is the only Infix-supplied sudoers drop-in. Admin users get unrestricted sudo, so there is no policy to bypass.
board/common/rootfs/etc/sudoers.d/wheel:1
There are no matches. confd only handles `wheel` group membership (`src/confd/src/system.c:58`) and does not generate sudoers rules or sudo Defaults.
src/confd (search for `sudoers`)
Version and patches
The CVE text gives the affected range as "through 1.9.17p2", and this build is exactly 1.9.17p2 (buildroot/package/sudo/sudo.mk:7-9), so the version match is correct. The fix commit 71fbe42dcd5a and the advisory could not be fetched in this read-only review, so the fixed release was not confirmed; it is presumably the next release after 1.9.17p2. The source in the tree still has the unchecked execveat cases, and the single applied Buildroot patch (exec_mailer group fix) does not touch them.
Recommendation
Document as not exposed in the default product. No urgent backport is needed.
Pick up the fix through the normal Buildroot sudo bump once a release containing upstream commit 71fbe42dcd5a is available. The CVSS score is 8.5, but its impact depends on a restricted-command sudoers policy with intercept mode enabled, which Infix does not ship and cannot configure through its management interfaces.
If a customer or downstream overlay adds custom sudoers rules using intercept or log_subcmds, re-evaluate and backport the commit.
Open questions
The upstream advisory and fix commit were not available offline, so the exact fixed version and the hunk content are unconfirmed.
output/target/usr/libexec/sudo/ is empty in this tree: there is no sudoers.so and no sudo_intercept.so, and the build directory has no .o files. I could not tell whether this is a pruned snapshot or the real image content. If sudoers.so is really absent from the image, sudo could not load its policy plugin at all, which would only reduce exposure further.
Only the x86_64 defconfig was reviewed. Other Infix defconfigs (for example aarch64) also support ptrace intercept in exec_ptrace.c and would need the same sudoers check, though the sudoers overlay is common to all boards.
Members of Kernel Kit decide. Sign in if you are one.