Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ubuntu/authd
  4. ›
  5. CVE-2025-5689

CVE-2025-5689: New authd users logging in via SSH are members of the root group

June 16, 2025 (updated June 17, 2025)

When an authd user logs in via SSH for the first time (meaning they do not yet exist in the authd user database) and successfully authenticates via the configured broker, the user is considered a member of the root group in the context of that SSH session. This situation may allow the user to read and write files that are accessible by the root group, to which they should not have access. The user does not get root privileges or any capabilities beyond the access granted to the root group.

References

  • github.com/advisories/GHSA-g8qw-mgjx-rwjr
  • github.com/ubuntu/authd
  • github.com/ubuntu/authd/commit/619ce8e55953b970f1765ddaad565081538151ab
  • github.com/ubuntu/authd/security/advisories/GHSA-g8qw-mgjx-rwjr
  • nvd.nist.gov/vuln/detail/CVE-2025-5689

Code Behaviors & Features

Detect and mitigate CVE-2025-5689 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.4

Fixed versions

  • 0.5.4

Solution

Upgrade to version 0.5.4 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-266: Incorrect Privilege Assignment

Source file

go/github.com/ubuntu/authd/CVE-2025-5689.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:11 +0000.