Skip to content
Heist/ feed
UnratedFix available

UBUNTU-CVE-2026-42998

Type: advisorySource: OSV1 source record

An issue was discovered in OpenStack Keystone before 29.0.2. The Keystone application credential authentication plugin does not verify that the user supplied in the authentication request matches the owner of the application credential. An attacker can authenticate with their own application credential ID and secret while specifying a different user's name and domain in the request body. Keystone issues a token attributed to the victim user. The impersonated token is project-scoped and carries the intersection of the application credential's roles and the victim's actual roles on the project. This enables audit evasion, reading the victim's credentials, and acting as the victim within shared projects.

Announced Group revision 1
Original source ↗

UBUNTU-CVE-2026-42998

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:UBUNTU-CVE-2026-42998

keystone

Source reference: /affected/0/package/name

Affected versions
2:8.0.0-0ubuntu1

Source reference: /affected/0/versions

2:9.0.0~b1-0ubuntu1

Source reference: /affected/0/versions

2:9.0.0~b2-0ubuntu1

Source reference: /affected/0/versions

2:9.0.0~b3-0ubuntu1

Source reference: /affected/0/versions

2:9.0.0~rc1-0ubuntu1

Source reference: /affected/0/versions

2:9.0.0-0ubuntu1

Source reference: /affected/0/versions

2:9.0.2-0ubuntu1

Source reference: /affected/0/versions

2:9.0.2-0ubuntu2

Source reference: /affected/0/versions

2:9.1.0-0ubuntu1

Source reference: /affected/0/versions

2:9.2.0-0ubuntu1

Source reference: /affected/0/versions

2:9.3.0-0ubuntu1

Source reference: /affected/0/versions

2:9.3.0-0ubuntu2

Source reference: /affected/0/versions

2:9.3.0-0ubuntu3

Source reference: /affected/0/versions

2:9.3.0-0ubuntu3.1

Source reference: /affected/0/versions

2:9.3.0-0ubuntu3.2

Source reference: /affected/0/versions

2:9.3.0-0ubuntu3.2+esm2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

keystone

Source reference: /affected/1/package/name

Affected versions
2:12.0.0-0ubuntu1

Source reference: /affected/1/versions

2:13.0.0~b1-0ubuntu1

Source reference: /affected/1/versions

2:13.0.0~b2-0ubuntu1

Source reference: /affected/1/versions

2:13.0.0~b3-0ubuntu1

Source reference: /affected/1/versions

2:13.0.0~rc1-0ubuntu1

Source reference: /affected/1/versions

2:13.0.0~rc2-0ubuntu1

Source reference: /affected/1/versions

2:13.0.0-0ubuntu1

Source reference: /affected/1/versions

2:13.0.1-0ubuntu1

Source reference: /affected/1/versions

2:13.0.2-0ubuntu1

Source reference: /affected/1/versions

2:13.0.2-0ubuntu3

Source reference: /affected/1/versions

2:13.0.4-0ubuntu1

Source reference: /affected/1/versions

2:13.0.4-0ubuntu1+esm1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

keystone

Source reference: /affected/2/package/name

Affected versions
2:16.0.0-0ubuntu1

Source reference: /affected/2/versions

2:17.0.0~b1~git2019121613.db81fee63-0ubuntu1

Source reference: /affected/2/versions

2:17.0.0~b2~git2020020513.99733f172-0ubuntu1

Source reference: /affected/2/versions

2:17.0.0~b3~git2020032415.9f9040257-0ubuntu1

Source reference: /affected/2/versions

2:17.0.0~b3~git2020032415.9f9040257-0ubuntu2

Source reference: /affected/2/versions

2:17.0.0~b3~git2020041013.7bb6314e4-0ubuntu1

Source reference: /affected/2/versions

2:17.0.0-0ubuntu0.20.04.1

Source reference: /affected/2/versions

2:17.0.1-0ubuntu1

Source reference: /affected/2/versions

2:17.0.1-0ubuntu2

Source reference: /affected/2/versions

2:17.0.1-0ubuntu2+esm1

Source reference: /affected/2/versions

2:17.0.1-0ubuntu2+esm2

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

keystone

Source reference: /affected/3/package/name

Affected versions
2:20.0.0-0ubuntu1

Source reference: /affected/3/versions

2:20.0.0+git2021120815.2ddf8f321-0ubuntu1

Source reference: /affected/3/versions

2:20.0.0+git2022011217.771c943ad-0ubuntu1

Source reference: /affected/3/versions

2:20.0.0+git2022030313.a3fc9e7c3-0ubuntu1

Source reference: /affected/3/versions

2:21.0.0-0ubuntu1

Source reference: /affected/3/versions

2:21.0.1-0ubuntu1

Source reference: /affected/3/versions

2:21.0.1-0ubuntu2

Source reference: /affected/3/versions

2:21.0.1-0ubuntu2.1

Source reference: /affected/3/versions

2:21.0.1-0ubuntu2.2

Source reference: /affected/3/versions

Fixed versions
2:21.0.1-0ubuntu2.4

Source reference: /affected/3/ranges

Prerequisites
Not stated in this record

keystone

Source reference: /affected/4/package/name

Affected versions
2:24.0.0-0ubuntu1

Source reference: /affected/4/versions

2:24.0.0+git2024011916.adfa92b4-0ubuntu1

Source reference: /affected/4/versions

2:25.0.0~rc1-0ubuntu1

Source reference: /affected/4/versions

2:25.0.0-0ubuntu1

Source reference: /affected/4/versions

2:25.0.0-0ubuntu1.1

Source reference: /affected/4/versions

2:25.0.0-0ubuntu1.2

Source reference: /affected/4/versions

Fixed versions
2:25.0.0-0ubuntu1.4

Source reference: /affected/4/ranges

Prerequisites
Not stated in this record

keystone

Source reference: /affected/5/package/name

Affected versions
2:27.0.0-0ubuntu1

Source reference: /affected/5/versions

2:27.0.0+git2025080113.e066e18ab-0ubuntu1

Source reference: /affected/5/versions

2:28.0.0~rc1-0ubuntu1

Source reference: /affected/5/versions

2:28.0.0-0ubuntu1

Source reference: /affected/5/versions

2:28.0.0-0ubuntu1.1

Source reference: /affected/5/versions

Fixed versions
2:28.0.0-0ubuntu1.3

Source reference: /affected/5/ranges

Prerequisites
Not stated in this record

keystone

Source reference: /affected/6/package/name

Affected versions
2:28.0.0-0ubuntu1

Source reference: /affected/6/versions

2:28.0.0-0ubuntu2

Source reference: /affected/6/versions

2:28.0.0+git20260119.61.8a42793e7-0ubuntu1

Source reference: /affected/6/versions

2:29.0.0~rc1-0ubuntu1

Source reference: /affected/6/versions

2:29.0.0-0ubuntu1

Source reference: /affected/6/versions

Fixed versions
2:29.0.0-0ubuntu1.2

Source reference: /affected/6/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "keystone",
      "purl": "pkg:deb/ubuntu/keystone?arch=source&distro=esm-infra-legacy%2Fxenial",
      "ecosystem": "Ubuntu:Pro:16.04:LTS"
    },
    "versions": [
      "2:8.0.0-0ubuntu1",
      "2:9.0.0~b1-0ubuntu1",
      "2:9.0.0~b2-0ubuntu1",
      "2:9.0.0~b3-0ubuntu1",
      "2:9.0.0~rc1-0ubuntu1",
      "2:9.0.0-0ubuntu1",
      "2:9.0.2-0ubuntu1",
      "2:9.0.2-0ubuntu2",
      "2:9.1.0-0ubuntu1",
      "2:9.2.0-0ubuntu1",
      "2:9.3.0-0ubuntu1",
      "2:9.3.0-0ubuntu2",
      "2:9.3.0-0ubuntu3",
      "2:9.3.0-0ubuntu3.1",
      "2:9.3.0-0ubuntu3.2",
      "2:9.3.0-0ubuntu3.2+esm2"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42998.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "keystone",
          "binary_version": "2:9.3.0-0ubuntu3.2+esm2"
        },
        {
          "binary_name": "python-keystone",
          "binary_version": "2:9.3.0-0ubuntu3.2+esm2"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "keystone",
      "purl": "pkg:deb/ubuntu/keystone?arch=source&distro=esm-infra%2Fbionic",
      "ecosystem": "Ubuntu:Pro:18.04:LTS"
    },
    "versions": [
      "2:12.0.0-0ubuntu1",
      "2:13.0.0~b1-0ubuntu1",
      "2:13.0.0~b2-0ubuntu1",
      "2:13.0.0~b3-0ubuntu1",
      "2:13.0.0~rc1-0ubuntu1",
      "2:13.0.0~rc2-0ubuntu1",
      "2:13.0.0-0ubuntu1",
      "2:13.0.1-0ubuntu1",
      "2:13.0.2-0ubuntu1",
      "2:13.0.2-0ubuntu3",
      "2:13.0.4-0ubuntu1",
      "2:13.0.4-0ubuntu1+esm1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42998.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "keystone",
          "binary_version": "2:13.0.4-0ubuntu1+esm1"
        },
        {
          "binary_name": "python-keystone",
          "binary_version": "2:13.0.4-0ubuntu1+esm1"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "keystone",
      "purl": "pkg:deb/ubuntu/keystone?arch=source&distro=esm-infra%2Ffocal",
      "ecosystem": "Ubuntu:Pro:20.04:LTS"
    },
    "versions": [
      "2:16.0.0-0ubuntu1",
      "2:17.0.0~b1~git2019121613.db81fee63-0ubuntu1",
      "2:17.0.0~b2~git2020020513.99733f172-0ubuntu1",
      "2:17.0.0~b3~git2020032415.9f9040257-0ubuntu1",
      "2:17.0.0~b3~git2020032415.9f9040257-0ubuntu2",
      "2:17.0.0~b3~git2020041013.7bb6314e4-0ubuntu1",
      "2:17.0.0-0ubuntu0.20.04.1",
      "2:17.0.1-0ubuntu1",
      "2:17.0.1-0ubuntu2",
      "2:17.0.1-0ubuntu2+esm1",
      "2:17.0.1-0ubuntu2+esm2"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42998.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "keystone",
          "binary_version": "2:17.0.1-0ubuntu2+esm2"
        },
        {
          "binary_name": "keystone-common",
          "binary_version": "2:17.0.1-0ubuntu2+esm2"
        },
        {
          "binary_name": "python3-keystone",
          "binary_version": "2:17.0.1-0ubuntu2+esm2"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2:21.0.1-0ubuntu2.4"
          }
        ]
      }
    ],
    "package": {
      "name": "keystone",
      "purl": "pkg:deb/ubuntu/keystone?arch=source&distro=jammy",
      "ecosystem": "Ubuntu:22.04:LTS"
    },
    "versions": [
      "2:20.0.0-0ubuntu1",
      "2:20.0.0+git2021120815.2ddf8f321-0ubuntu1",
      "2:20.0.0+git2022011217.771c943ad-0ubuntu1",
      "2:20.0.0+git2022030313.a3fc9e7c3-0ubuntu1",
      "2:21.0.0-0ubuntu1",
      "2:21.0.1-0ubuntu1",
      "2:21.0.1-0ubuntu2",
      "2:21.0.1-0ubuntu2.1",
      "2:21.0.1-0ubuntu2.2"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42998.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "keystone",
          "binary_version": "2:21.0.1-0ubuntu2.4"
        },
        {
          "binary_name": "keystone-common",
          "binary_version": "2:21.0.1-0ubuntu2.4"
        },
        {
          "binary_name": "python3-keystone",
          "binary_version": "2:21.0.1-0ubuntu2.4"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2:25.0.0-0ubuntu1.4"
          }
        ]
      }
    ],
    "package": {
      "name": "keystone",
      "purl": "pkg:deb/ubuntu/keystone?arch=source&distro=noble",
      "ecosystem": "Ubuntu:24.04:LTS"
    },
    "versions": [
      "2:24.0.0-0ubuntu1",
      "2:24.0.0+git2024011916.adfa92b4-0ubuntu1",
      "2:25.0.0~rc1-0ubuntu1",
      "2:25.0.0-0ubuntu1",
      "2:25.0.0-0ubuntu1.1",
      "2:25.0.0-0ubuntu1.2"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42998.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "keystone",
          "binary_version": "2:25.0.0-0ubuntu1.4"
        },
        {
          "binary_name": "keystone-common",
          "binary_version": "2:25.0.0-0ubuntu1.4"
        },
        {
          "binary_name": "python3-keystone",
          "binary_version": "2:25.0.0-0ubuntu1.4"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2:28.0.0-0ubuntu1.3"
          }
        ]
      }
    ],
    "package": {
      "name": "keystone",
      "purl": "pkg:deb/ubuntu/keystone?arch=source&distro=questing",
      "ecosystem": "Ubuntu:25.10"
    },
    "versions": [
      "2:27.0.0-0ubuntu1",
      "2:27.0.0+git2025080113.e066e18ab-0ubuntu1",
      "2:28.0.0~rc1-0ubuntu1",
      "2:28.0.0-0ubuntu1",
      "2:28.0.0-0ubuntu1.1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42998.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "keystone",
          "binary_version": "2:28.0.0-0ubuntu1.3"
        },
        {
          "binary_name": "keystone-common",
          "binary_version": "2:28.0.0-0ubuntu1.3"
        },
        {
          "binary_name": "python3-keystone",
          "binary_version": "2:28.0.0-0ubuntu1.3"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2:29.0.0-0ubuntu1.2"
          }
        ]
      }
    ],
    "package": {
      "name": "keystone",
      "purl": "pkg:deb/ubuntu/keystone?arch=source&distro=resolute",
      "ecosystem": "Ubuntu:26.04:LTS"
    },
    "versions": [
      "2:28.0.0-0ubuntu1",
      "2:28.0.0-0ubuntu2",
      "2:28.0.0+git20260119.61.8a42793e7-0ubuntu1",
      "2:29.0.0~rc1-0ubuntu1",
      "2:29.0.0-0ubuntu1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-42998.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "keystone",
          "binary_version": "2:29.0.0-0ubuntu1.2"
        },
        {
          "binary_name": "keystone-common",
          "binary_version": "2:29.0.0-0ubuntu1.2"
        },
        {
          "binary_name": "python3-keystone",
          "binary_version": "2:29.0.0-0ubuntu1.2"
        }
      ],
      "availability": "No subscription required"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#47094 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement