CVE-2026-58086
JSON

8.1high

ktrace(2) privilege incorrectly validated in jails

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.38% (higher than 24% of CVEs)
Published
Last changed
Assigned by
freebsd

Description

As an inadvertent side effect of an unrelated code change, PRIV_KTRACE was always denied to a jailed root user. Tracing configured by a jailed root user was therefore not flagged as privileged. An unprivileged user in a jail that has permission to debug the target process can modify the jailed root user's ktrace(2) flags, or disable tracing outright. A jailed root user therefore cannot reliably trace unprivileged processes.

Affected

Product or packageVersionsReported by
FreeBSD FreeBSDfrom 15.1-RELEASE before p2, from 15.0-RELEASE before p12, 15.0, 15.1CVE List, NVD

Classification

CWE-273

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

As an inadvertent side effect of an unrelated code change, PRIV_KTRACE was always denied to a jailed root user. Tracing configured by a jailed root user was therefore not flagged as privileged. An unprivileged user in a jail that has permission to debug the target process can modify the jailed root user's ktrace(2) flags, or disable tracing outright. A jailed root user therefore cannot reliably trace unprivileged processes.

NVD (es)

Como un efecto secundario inadvertido de un cambio de código no relacionado, PRIV_KTRACE siempre se le denegó a un usuario root enjaulado. El rastreo configurado por un usuario root enjaulado, por lo tanto, no se marcó como privilegiado. Un usuario sin privilegios en una jaula que tiene permiso para depurar el proceso objetivo puede modificar las banderas de ktrace(2) del usuario root enjaulado, o deshabilitar el rastreo por completo. Un usuario root enjaulado, por lo tanto, no puede rastrear de forma fiable procesos sin privilegios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58086 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-58086 changed 2026-10-27Public domain