{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142136",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "state": "PUBLISHED",
        "assignerShortName": "redhat",
        "dateReserved": "2026-12-02T14:10:39.028Z",
        "datePublished": "2026-12-02T16:00:02.098Z",
        "dateUpdated": "2026-12-02T16:40:42.394Z"
    },
    "containers": {
        "cna": {
            "title": "Keycloak-operator: keycloak-operator: plaintext credentials exposure in keycloakrealmimport custom resource",
            "metrics": [
                {
                    "other": {
                        "content": {
                            "value": "Important",
                            "namespace": "https://access.redhat.com/security/updates/classification/"
                        },
                        "type": "Red Hat severity rating"
                    }
                },
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 8.1,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A flaw was found in the Keycloak Operator, which is used to manage Keycloak instances on Kubernetes and OpenShift. The issue occurs because the documentation and default behavior encourage users to include sensitive information, such as client secrets and private keys, directly within the KeycloakRealmImport custom resource. Because these resources are not treated as protected secrets by Kubernetes, an attacker with basic read permissions for the custom resource can recover this sensitive material, potentially leading to full compromise of the Keycloak realm."
                }
            ],
            "affected": [
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Build of Keycloak",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "keycloak-operator.redhat-00001.zip",
                    "defaultStatus": "affected",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Build of Keycloak",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "keycloak-operator.redhat-00002.zip",
                    "defaultStatus": "affected",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Build of Keycloak",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "keycloak-operator.redhat-00003.zip",
                    "defaultStatus": "affected",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Build of Keycloak",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "rhbk/keycloak-operator-bundle",
                    "defaultStatus": "affected",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Build of Keycloak",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "rhbk/keycloak-rhel9-operator",
                    "defaultStatus": "affected",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:"
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2026-142136",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2588703",
                    "name": "RHBZ#2588703",
                    "tags": [
                        "issue-tracking",
                        "x_refsource_REDHAT"
                    ]
                }
            ],
            "datePublic": "2026-12-01T19:33:10.000Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-200",
                            "description": "Exposure of Sensitive Information to an Unauthorized Actor",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "x_redhatCweChain": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor",
            "workarounds": [
                {
                    "lang": "en",
                    "value": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability."
                }
            ],
            "timeline": [
                {
                    "lang": "en",
                    "time": "2026-12-01T19:33:10.000Z",
                    "value": "Reported to Red Hat."
                },
                {
                    "lang": "en",
                    "time": "2026-12-01T19:33:10.000Z",
                    "value": "Made public."
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Red Hat would like to thank Bruno Oliveira - abstractj (in collaboration with OpenAI) for reporting this issue."
                }
            ],
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2026-12-02T16:00:02.098Z"
            },
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-02T16:40:30.374550Z",
                                "id": "CVE-2026-142136",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-02T16:40:42.394Z"
                }
            }
        ]
    }
}