About Newsroom
Monday, November 30, 2026 Today’s Paper
Primary-Sourced Edition About & sourcing →

Technology

Linux-PAM advisory flags privilege risk in a nonstandard musl setup

The maintainers describe a local privilege-escalation risk involving pam_wheel on musl-based systems when a nonstandard configuration is used.

Linux-PAM maintainers have published an advisory about a local privilege-escalation risk that can arise when the pam_wheel module is used in a nonstandard configuration on a system using the musl C library. The advisory assigns a CVSS severity score of 8.2, while the maintainers describe the practical risk as minimal because the configuration is nonstandard and not normally the default. [1]

The issue involves how musl’s getlogin function obtains a user name and how pam_wheel can treat that value when configured to trust it. The advisory lists Alpine Linux 3.24.4 and Linux-PAM 1.7.3; it does not list a patched version. It says adding the use_uid option avoids the reported problem in the example configuration. [1]

A developer posting as Cassandrich disputed the characterization of the issue, arguing that reliance on getlogin for authentication is itself unsafe and describing the configuration as nondefault. That is the developer’s assessment; the advisory identifies a risk for systems using the combination described. [1][2]

The advisory says the standard glibc implementation does not have this particular problem. It does not establish that typical installations using default settings are exposed. [1]

Beyond the headline

The conversation

Mastodon
“if you enable the nondefault option to treat getlogin() as a base of trust for authentication”

Cassandrich argues the configuration is inherently unsafe. Linux-PAM says the combination can create a local escalation risk.

Read on Wildroot
Read more on this topicExplore on Wildroot

Sources & documents

Follow the numbered references to the reporting and original records.

  1. Linux-PAM security advisory GHSA-xffv-9hp2-9526github.com
  2. Cassandrich: assessment of Linux-PAM advisoryhachyderm.io