Vulnerability · Published Jun 16, 2025 · Assigned by canonical

CVE-2025-5689Improper Permission Management in SSH Session Handling

High 8.5

In plain English

A high-severity privilege mismanagement in authd from Canonical. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.5High
Exploit odds (30 days)0.3%top 77.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in the temporary user record that authd uses in the pre-auth NSS. As a result, a user login for the first time will be considered to be part of the root group in the context of that SSH session.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/ubuntu/authd0.5.4GHSA-g8qw-mgjx-rwjr
Gogithub.com/ubuntu/authd0.5.4GO-2025-3762

Affected products (as reported)

VendorProductVersions
Canonical authd 0.0.0 – through 0.5.4

Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

References