# CVE-2024-9312: Authd allows attacker-controlled usernames to yield controllable UIDs

- Severity: High 7.5 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-10T13:42:31.950Z
- Modified: 2026-06-17T08:24:20.137Z
- Also known as: GHSA-4gfw-wf7c-w6g2, GO-2024-3188
- Weaknesses: CWE-286, CWE-335
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: canonical

## Description

Authd, through version 0.3.6, did not sufficiently randomize user IDs to prevent collisions. A local attacker who can register user names could spoof another user's ID and gain their privileges.

(As written by CVE List.)

## Affected

- authd: before 0.3.6
- ubuntu authd: before 0.3.6
- github.com/ubuntu/authd (Go): up to 0.0.0-20230706090440-d8cb2d561419; before 0.3.6
- canonical authd: before 0.3.6

## Every score

- canonical: CVSS:3.1 7.5 High `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ubuntu/authd/security/advisories/GHSA-4gfw-wf7c-w6g2> (exploit, advisory, issue-tracking, mitigation, vendor-advisory, web)
- <https://www.cve.org/CVERecord?id=CVE-2024-9312> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-9312> (advisory)
- <https://github.com/ubuntu/authd> (package)

## Sources

- CVE List: [CVE-2024-9312](https://www.cve.org/CVERecord?id=CVE-2024-9312), CVE Terms of Use, modified 2024-10-10
- GitHub Advisory Database: [GHSA-4gfw-wf7c-w6g2](https://github.com/advisories/GHSA-4gfw-wf7c-w6g2), CC-BY-4.0, modified 2024-10-11
- Go Vulnerability Database: [GO-2024-3188](https://pkg.go.dev/vuln/GO-2024-3188), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-9312](https://nvd.nist.gov/vuln/detail/CVE-2024-9312), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-9312 · Whole record: https://cve.day/CVE-2024-9312.json · Rebuilt by cve.day 2026-11-25T22:58:46.622Z
