← Back to CVE Explorer

CVE-2026-42998

Full vulnerability record from the local CVENow database.

Description

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.

Severity
HIGH
CVSS score
8.8 (v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-05-28 19:16:37.483000
Last modified
2026-10-26 13:10:00.140000
View original CVE JSON
{
  "id": "CVE-2026-42998",
  "sourceIdentifier": "[email protected]",
  "published": "2026-05-28T19:16:37.483",
  "lastModified": "2026-10-26T13:10:00.140",
  "vulnStatus": "Analyzed",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Se descubrió un problema en OpenStack Keystone antes de la versión 29.0.2. El plugin de autenticación de credenciales de aplicación de Keystone no verifica que el usuario proporcionado en la solicitud de autenticación coincida con el propietario de la credencial de aplicación. Un atacante puede autenticarse con su propio ID y secreto de credencial de aplicación mientras especifica el nombre y el dominio de un usuario diferente en el cuerpo de la solicitud. Keystone emite un token atribuido al usuario víctima. El token suplantado tiene alcance de proyecto y lleva la intersección de los roles de la credencial de aplicación y los roles reales de la víctima en el proyecto. Esto permite la evasión de auditorías, la lectura de las credenciales de la víctima y actuar como la víctima dentro de proyectos compartidos."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "OpenStack",
          "product": "Keystone",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "14.0.0",
              "lessThan": "27.0.2",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "28.0.0",
              "lessThan": "28.0.2",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "29.0.0",
              "lessThan": "29.0.2",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L",
          "baseScore": 6.0,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 3.7
      },
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "baseScore": 8.8,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-05-28T19:38:16.911205Z",
          "id": "CVE-2026-42998",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-863"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "14.0.0",
              "versionEndExcluding": "27.0.2",
              "matchCriteriaId": "541F5133-3C0B-4973-BEDC-1A7D4BA292CA"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "28.0.0",
              "versionEndExcluding": "28.0.2",
              "matchCriteriaId": "EE1CC117-FDCA-493D-B811-57BC9ADC9260"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:a:openstack:keystone:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "29.0.0",
              "versionEndExcluding": "29.0.2",
              "matchCriteriaId": "594C43ED-BCAE-43C2-9B5F-5D4AF2F2AC08"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://bugs.launchpad.net/keystone/+bug/2148477",
      "source": "[email protected]",
      "tags": [
        "Exploit",
        "Issue Tracking",
        "Patch",
        "Third Party Advisory"
      ]
    },
    {
      "url": "https://security.openstack.org/ossa/OSSA-2026-015.html",
      "source": "[email protected]",
      "tags": [
        "Patch",
        "Vendor Advisory"
      ]
    }
  ]
}