Skip to content
Heist/ feed
Back to feed
MediumFix available

authd — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-102631

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.

Products
authd
Affected versions
0.5.11, 0.6.1, 0.6.1ubuntu0.1, 0.7.0
Fixed versions
0.7.1
CVEs
CVE-2026-102631
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 14:56 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-102631

core-osv · Original source

Published 15 Oct 2026, 16:42 UTC

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.

osv:UBUNTU-CVE-2026-102631

authd

Fixed versions: 0.7.1

authd

Fixed versions: Not specified

Complete source record
{
  "id": "edfbc613f6fc30d70e624740507a351f4b73d5541526dd51061b8ed0e04cd5f8",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-102631",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-102631",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-102631",
    "products": [
      {
        "name": {
          "value": "authd",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.7.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.6.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.1ubuntu0.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.7.0",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "authd",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.5.11",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.1ubuntu0.1",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-102631",
      "aliases": [
        "UBUNTU-CVE-2026-102631"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.7.1"
                }
              ]
            }
          ],
          "package": {
            "name": "authd",
            "purl": "pkg:deb/ubuntu/authd?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.6.1",
            "0.6.1ubuntu0.1",
            "0.7.0"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102631.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "authd",
                "binary_version": "0.7.1"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "authd",
            "purl": "pkg:deb/ubuntu/authd?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.5.11",
            "0.6.1",
            "0.6.1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-102631.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "authd",
                "binary_version": "0.6.1ubuntu0.1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-28T01:07:35.523841459Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-102631"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-102631",
        "https://www.cve.org/CVERecord?id=CVE-2026-102631",
        "https://github.com/canonical/authd/pull/2067",
        "https://ubuntu.com/security/notices/USN-8957-1"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-102631",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 486135,
  "published_at": "2026-10-15T16:42:00+00:00"
}