CVE-2025-5689

Improper Permission Management in SSH Session Handling

Published Jun 16, 2025 CVSS 3.1 · 8.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-18385 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.
Github GHSA Github GHSA GHSA-g8qw-mgjx-rwjr New authd users logging in via SSH are members of the root group
History
Type Values Removed Values Added
First Time appeared Canonical
Canonical authd
CPEs cpe:2.3:a:canonical:authd:*:*:*:*:*:*:*:*
Vendors & Products Canonical
Canonical authd
Type Values Removed Values Added
Weaknesses CWE-269
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L'}

cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Improper Permission Management in SSH Session Handling
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Jun 17, 2025, 5:27 PM
Reserved
Jun 4, 2025, 5:12 PM
Status
Analyzed
Published
Jun 16, 2025, 12:15 PM
Modified
Jun 17, 2026, 9:48 AM