python-keycloak — security advisory
A flaw was found in the keycloak-services component of Keycloak. This vulnerability allows the issuance of access and refresh tokens for disabled users, leading to unauthorized use of previously revoked privileges, via a business logic vulnerability in the Token Exchange implementation when a privileged client invokes the token exchange flow.
- Products
- python-keycloak
- Affected versions
- 3.3.0+dfsg-2, 3.9.0+dfsg-1, 5.3.1+dfsg-1, 5.7.0+dfsg-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-14559
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:24 UTC · Revision 1
Source evidence
A flaw was found in the keycloak-services component of Keycloak. This vulnerability allows the issuance of access and refresh tokens for disabled users, leading to unauthorized use of previously revoked privileges, via a business logic vulnerability in the Token Exchange implementation when a privileged client invokes the token exchange flow.
osv:UBUNTU-CVE-2025-14559
python-keycloak
Fixed versions: Not specified
python-keycloak
Fixed versions: Not specified
python-keycloak
Fixed versions: Not specified
Complete source record
{
"id": "467ae4ccdee4ce0c0a9f952b8153eaf3b20872fa6ac0f0280d4f88ca81752220",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-14559",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-14559",
"summary": "A flaw was found in the keycloak-services component of Keycloak. This vulnerability allows the issuance of access and refresh tokens for disabled users, leading to unauthorized use of previously revoked privileges, via a business logic vulnerability in the Token Exchange implementation when a privileged client invokes the token exchange flow.",
"evidence": "osv:UBUNTU-CVE-2025-14559",
"products": [
{
"name": {
"value": "python-keycloak",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.3.0+dfsg-2",
"evidence": "/affected/0/versions"
},
{
"value": "3.9.0+dfsg-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "python-keycloak",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.3.1+dfsg-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "python-keycloak",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.7.0+dfsg-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-14559",
"aliases": [
"UBUNTU-CVE-2025-14559"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-keycloak",
"purl": "pkg:deb/ubuntu/python-keycloak?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.3.0+dfsg-2",
"3.9.0+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14559.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-keycloak",
"binary_version": "3.9.0+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-keycloak",
"purl": "pkg:deb/ubuntu/python-keycloak?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"5.3.1+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14559.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-keycloak",
"binary_version": "5.3.1+dfsg-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "python-keycloak",
"purl": "pkg:deb/ubuntu/python-keycloak?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"5.7.0+dfsg-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-14559.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-keycloak",
"binary_version": "5.7.0+dfsg-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:48.027713962Z",
"provider": "osv",
"upstream": [
"CVE-2025-14559"
],
"references": [
"https://ubuntu.com/security/CVE-2025-14559",
"https://www.cve.org/CVERecord?id=CVE-2025-14559",
"https://access.redhat.com/security/cve/CVE-2025-14559",
"https://bugzilla.redhat.com/show_bug.cgi?id=2421711"
]
},
"related_cves": [
{
"value": "CVE-2025-14559",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356298,
"published_at": "2026-01-21T07:16:00+00:00"
}