{"schemaVersion":4,"id":"CVE-2026-102631","aliases":["UBUNTU-CVE-2026-102631","USN-8957-1"],"status":"published","duplicateOf":null,"title":"authd: Account takeover via username fallback in identity matching after IdP email reassignment","description":"In authd before 0.7.1, the user identity matching in UpdateUser (internal/users/manager.go) resolves an incoming login by the broker-scoped provider ID, but falls back to matching the username when the provider ID does not belong to any known user, and does not reject a conflicting non-empty provider ID. If an identity provider reassigns an email address, which authd uses as the username, to a new account, the new account inherits the previous user's local UID and home directory on its next login. This allows the new user to access and modify files belonging to the previous user, including credentials such as SSH keys and cloud API tokens, and silently rebinds the local account record to the new identity. As a mitigation, administrators should lock or delete the previous user's local authd account when the corresponding IdP account is removed.","dates":{"published":"2026-10-15T16:42:19.368Z","modified":"2026-10-16T20:16:49.275Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.9,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00112,"percentile":0.01486,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00112},"history":[{"date":"2026-10-16T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00112,"percentile":0.01486}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00149,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00112,"percentile":0.01486}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"canonical","product":"authd","name":"authd","label":"authd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.1, < 0.7.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.1","startInclusive":true,"end":"0.7.1","endInclusive":false}},{"text":"≥ 0.1, < 0.7.1~ubuntu24.04.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.1","startInclusive":true,"end":"0.7.1~ubuntu24.04.1","endInclusive":false}},{"text":"≥ 0.1, < 0.7.1~ubuntu26.04","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"0.1","startInclusive":true,"end":"0.7.1~ubuntu26.04","endInclusive":false}}],"versionsText":"≥ 0.1, < 0.7.1 | ≥ 0.1, < 0.7.1~ubuntu24.04.1 | ≥ 0.1, < 0.7.1~ubuntu26.04","eol":null,"hubHref":"/vendor/canonical/authd"},{"vendor":"ubuntu","product":"authd","name":"authd","label":"authd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/authd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 0.7.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.7.1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 0.7.1","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/canonical/authd/pull/2067","label":"github.com/canonical/authd/pull/2067","hostname":"github.com","tags":["Patch","REPORT"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/authd/+bug/2168531","label":"bugs.launchpad.net/ubuntu/+source/authd/+bug/2168531","hostname":"bugs.launchpad.net","tags":["Issue Tracking","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-102631","label":"ubuntu.com/security/CVE-2026-102631","hostname":"ubuntu.com","tags":["Vendor Advisory","REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-102631","label":"www.cve.org/CVERecord?id=CVE-2026-102631","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8957-1","label":"ubuntu.com/security/notices/USN-8957-1","hostname":"ubuntu.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-15T16:42:19.368Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-16T20:16:49.275Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.9, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,59],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00112,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-16T20:16:49.275Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-16T20:16:49.275Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"osv_ubuntu","date":"2026-10-16T20:16:49.275Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},{"type":"adp","source":"cisa-adp","date":"2026-10-16T20:16:37.623Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00112,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T07:02:00.704Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T07:02:01.187Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T07:02:01.389Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T07:01:05.155Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T07:01:59.185Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T07:01:58.234Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T07:23:06.143Z","stale":false,"partial":false}}