Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58092— Unauthorized credential switching

Quick assessment

Affected
FreeBSD FreeBSD
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FreeBSD是FreeBSD基金会开源的一款类Unix操作系统。 FreeBSD 15.0-RELEASE p13之前版本和15.1-RELEASE p3之前版本存在授权问题漏洞,该漏洞源于group_is_primary()函数未正确更新,可能导致凭证切换时错误设置主组ID为0,从而提升权限。

AI Predicted 5.5 Difficulty: Hard EPSS 0.35% · P27

Affected Version Matrix 2

VendorProduct Version RangeStatus
FreeBSD FreeBSD 15.1-RELEASE< p3 affected
15.0-RELEASE< p13 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58092

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Unauthorized credential switching
Source: CVE Program / CVE List V5
Vulnerability Description
In FreeBSD 15.0, the kernel structure used to represent user credentials changed: previously the primary group ID was stored in the first element of the array containing the list of supplementary group IDs, whereas now the primary group ID is stored in a dedicated field. This change was largely internal to the kernel and not user-visible. One function, group_is_primary(), was not properly updated as a part of this transition. This function is used by mac_do to determine the primary group ID of the credential after applying a transition rule, used when the rule target does not explicitly specify a group. As a result, with certain mac_do rules, it is possible for a credential switch to incorrectly set the primary group ID to the ID stored in the first element of the original credential's supplementary group array. If the list of supplementary groups is empty, this value will be 0, corresponding to the "wheel" group. For example, a rule such as "uid=1001>uid=1002" can be abused to set the primary group ID to 0 even if the process did not originally belong to group 0. Certain mac_do rules can be abused to set a process' group ID to 0. Note however, that the rule must apply to the caller in order for the bug to be triggered, e.g., given the ruleset "uid=1001>uid=1002", the user must have user ID 1001 in order to trigger the bug. Further, logged-in users will in general have a non-empty supplementary group list, in which case the bug can at worst be used to set the credential's first supplementary group ID as its primary group ID. Processes must explicitly remove themselves from all supplementary groups, using the privileged setgroups(2) system call, in order to exploit the bug to set 0 as the primary group ID. Since membership in group 0 is often used to enable controlled privilege escalation, the bug might be further exploitable to obtain root privileges, depending on the system configuration. For instance, a ruleset such as the following could be exploited by a process running as user 1001 and with an empty supplementary group list: "uid=1001>uid=1002;gid=0>uid=0".
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
使用候选路径或通道进行的认证绕过
Source: CVE Program / CVE List V5
Vulnerability Title
FreeBSD 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FreeBSD是FreeBSD基金会开源的一款类Unix操作系统。 FreeBSD 15.0-RELEASE p13之前版本和15.1-RELEASE p3之前版本存在授权问题漏洞,该漏洞源于group_is_primary()函数未正确更新,可能导致凭证切换时错误设置主组ID为0,从而提升权限。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FreeBSD FreeBSD 15.1-RELEASE ~ p3 -

II. Public POCs for CVE-2026-58092

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58092

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-58092 (1)

Same Patch Batch · FreeBSD · 2026-08-26 · 9 CVEs total

CVE-2026-58090 Use-after-free in unix SOCK_STREAM message handling
CVE-2026-58091 Kernel use-after-free via the SNDCTL_DSP_SYNCSTART ioctl
CVE-2026-58089 hwpmc fails to detach PMCs during exec credential transitions
CVE-2026-58097 ppp(8): missing length validation in mp_SetEnddisc()
CVE-2026-58095 ppp(8): incorrect length calculation in mp_Enddisc()
CVE-2026-58093 Kernel use-after-free via tty ioctls
CVE-2026-58096 ppp(8): missing length validation in LcpDecodeConfig()
CVE-2026-58094 TOCTOU race in POSIX shared memory large page configuration

IV. Related Vulnerabilities

V. Comments for CVE-2026-58092

No comments yet


Leave a comment