DEBIAN-CVE-2026-40683
In OpenStack Keystone before 28.0.1, the LDAP identity backend does not convert the user enabled attribute to a boolean when the user_enabled_invert configuration option is False (the default). The _ldap_res_to_model method in the UserApi class only performed string-to-boolean conversion when user_enabled_invert was True. When False, the raw string value from LDAP (e.g., "FALSE") was used directly. Since non-empty strings are truthy in Python, users marked as disabled in LDAP were treated as enabled by Keystone, allowing them to authenticate and perform actions. All deployments using the LDAP identity backend without user_enabled_invert=True or user_enabled_emulation are affected.
DEBIAN-CVE-2026-40683
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:DEBIAN-CVE-2026-40683
keystone
Source reference: /affected/0/package/name
- Affected versions
- 2:22.0.0-2
Source reference:
/affected/0/versions2:22.0.2-0+deb12u1Source reference:
/affected/0/versions - Fixed versions
- 2:22.0.2-0+deb12u2
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
keystone
Source reference: /affected/1/package/name
- Affected versions
- 2:27.0.0-3
Source reference:
/affected/1/versions2:27.0.0-3+deb13u1Source reference:
/affected/1/versions - Fixed versions
- 2:27.0.0-3+deb13u3
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
keystone
Source reference: /affected/2/package/name
- Affected versions
- 2:27.0.0-3
Source reference:
/affected/2/versions2:28.0.0-1Source reference:
/affected/2/versions2:28.0.0-2Source reference:
/affected/2/versions2:28.0.0-3Source reference:
/affected/2/versions2:28.0.0-4Source reference:
/affected/2/versions2:28.0.0-5Source reference:
/affected/2/versions2:28.0.0-6Source reference:
/affected/2/versions2:28.0.0~rc1-1Source reference:
/affected/2/versions2:28.0.0~rc1-2Source reference:
/affected/2/versions2:28.0.0~rc1-4Source reference:
/affected/2/versions2:29.0.0~rc1-1Source reference:
/affected/2/versions - Fixed versions
- 2:29.0.0~rc1-2
Source reference:
/affected/2/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"
},
{
"fixed": "2:22.0.2-0+deb12u2"
}
]
}
],
"package": {
"name": "keystone",
"purl": "pkg:deb/debian/keystone?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2:22.0.0-2",
"2:22.0.2-0+deb12u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40683.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:27.0.0-3+deb13u3"
}
]
}
],
"package": {
"name": "keystone",
"purl": "pkg:deb/debian/keystone?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2:27.0.0-3",
"2:27.0.0-3+deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40683.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:29.0.0~rc1-2"
}
]
}
],
"package": {
"name": "keystone",
"purl": "pkg:deb/debian/keystone?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2:27.0.0-3",
"2:28.0.0-1",
"2:28.0.0-2",
"2:28.0.0-3",
"2:28.0.0-4",
"2:28.0.0-5",
"2:28.0.0-6",
"2:28.0.0~rc1-1",
"2:28.0.0~rc1-2",
"2:28.0.0~rc1-4",
"2:29.0.0~rc1-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40683.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56890 · Revision 1
- Added to Heist Feed
- Publisher date