CVE-2026-58086

ktrace(2) privilege incorrectly validated in jails

State
Published
Severity
8.1 High
Published
Aug 19, 2026
Updated
Aug 27, 2026
Reserved
Jun 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HCISA-ADP

Weaknesses

  • CWE-273 Improper Check for Dropped Privileges

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.1-RELEASE to before p2Affected
  • 15.0-RELEASE to before p12Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.