{"id":"CVE-2025-66623","summary":"Strimzi allows unrestricted access to all Secrets in the same Kubernetes namespace from Kafka Connect and MirrorMaker 2 operands","details":"Strimzi provides a way to run an Apache Kafka cluster on Kubernetes or OpenShift in various deployment configurations. From 0.47.0 and prior to 0.49.1, in some situations, Strimzi creates an incorrect Kubernetes Role which grants the Apache Kafka Connect and Apache Kafka MirrorMaker 2 operands the GET access to all Kubernetes Secrets that exist in the given Kubernetes namespace. The issue is fixed in Strimzi 0.49.1.","aliases":["GHSA-xrhh-hx36-485q"],"modified":"2026-10-28T10:45:54.988096869Z","published":"2025-12-05T18:31:30.635Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66623.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-200","CWE-863"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66623.json"},{"type":"ADVISORY","url":"https://github.com/strimzi/strimzi-kafka-operator/security/advisories/GHSA-xrhh-hx36-485q"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66623"},{"type":"FIX","url":"https://github.com/strimzi/strimzi-kafka-operator/commit/c8a14935e99c91eb0dd865431f46515da9f82ccc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/strimzi/strimzi-kafka-operator","events":[{"introduced":"40b9fa269ba87283bb0651711557922b14d715b3"},{"fixed":"eb359e808dee4f00230ed031bd381cd2a2f94b9c"},{"fixed":"c8a14935e99c91eb0dd865431f46515da9f82ccc"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.47.0"},{"fixed":"0.49.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"c8a14935e99c91eb0dd865431f46515da9f82ccc"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66623.json","vanir_signatures":[{"id":"CVE-2025-66623-0afb9d75","signature_type":"Line","signature_version":"v1","source":"https://github.com/strimzi/strimzi-kafka-operator/commit/c8a14935e99c91eb0dd865431f46515da9f82ccc","target":{"file":"cluster-operator/src/test/java/io/strimzi/operator/cluster/model/KafkaMirrorMaker2ClusterTest.java"},"deprecated":false,"digest":{"line_hashes":["23629621721309410227182013468997004042","285002512117995664034639865777599408387","219881812841202945329670942482408887247","65899345212153984343337057758655117972","115138484611003544859392557760820431245","327293608084523877055416600711136529065"],"threshold":0.9}},{"digest":{"threshold":0.9,"line_hashes":["280701532102403146668475689300492354475","332886204611206898553036887055293833404","90593564785352252461086260743503642738","294877857730379638704783438975507317642","277023797713359043181888191780498683248","135577868313757636166548156126628734138","280948287854264822668698121748248899057","140636556354647930376399140941689555746","190528038505958447609976698018944272427","38841448378432354966201165374957987610","257045923162372908316142398432850899459","124141734244868044547025684292706769146","51583217178259879060296153190423776176","204173154229928631026413830562425761976","110480108828256001789002829270914104824","256166136951615185679541714051157025980","316778911023531137246489758734100446709","311126900368849952629102460207722644156","189224651028925700458394345078087037812","143625918218047283615051908711513644534","254624291191766320692554377429788813870","240978301098558353111172972205663125666","311348831272055743294309342154515189495","214517153629872656454745502731627827655","248355293019852390800298472024792758080","10652914055237317138799103377673672412","93764570680066058959757655506782135379","6962530185361817067227762632177699241","82378764831923808382378049617036977310","271940511959945701140616876827036963170","137875308563848683575853969693231091575"]},"id":"CVE-2025-66623-21efab88","signature_type":"Line","signature_version":"v1","source":"https://github.com/strimzi/strimzi-kafka-operator/commit/c8a14935e99c91eb0dd865431f46515da9f82ccc","target":{"file":"cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectCluster.java"},"deprecated":false},{"id":"CVE-2025-66623-244a0eac","signature_type":"Line","signature_version":"v1","source":"https://github.com/strimzi/strimzi-kafka-operator/commit/c8a14935e99c91eb0dd865431f46515da9f82ccc","target":{"file":"cluster-operator/src/test/java/io/strimzi/operator/cluster/model/KafkaConnectClusterTest.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["23629621721309410227182013468997004042","285002512117995664034639865777599408387","219881812841202945329670942482408887247","65899345212153984343337057758655117972","320698946113728437172669193420639465374","95552162608856822954565988222065614365"]}},{"target":{"function":"generateRole","file":"cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectCluster.java"},"deprecated":false,"digest":{"length":835,"function_hash":"293444581077208592122804190206256195441"},"id":"CVE-2025-66623-5e9b52d0","signature_type":"Function","signature_version":"v1","source":"https://github.com/strimzi/strimzi-kafka-operator/commit/c8a14935e99c91eb0dd865431f46515da9f82ccc"},{"deprecated":false,"digest":{"function_hash":"71498418821121772740910279546629494441","length":844},"id":"CVE-2025-66623-b21e9054","signature_type":"Function","signature_version":"v1","source":"https://github.com/strimzi/strimzi-kafka-operator/commit/c8a14935e99c91eb0dd865431f46515da9f82ccc","target":{"function":"generateRole","file":"cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaCluster.java"}},{"digest":{"function_hash":"2029445923972028690871038937743802375","length":418},"id":"CVE-2025-66623-b61d0d7a","signature_type":"Function","signature_version":"v1","source":"https://github.com/strimzi/strimzi-kafka-operator/commit/c8a14935e99c91eb0dd865431f46515da9f82ccc","target":{"function":"generateRoleBindingForRole","file":"cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaConnectCluster.java"},"deprecated":false},{"digest":{"line_hashes":["194884111046239549083142735327155604972","38841448378432354966201165374957987610","257045923162372908316142398432850899459","124141734244868044547025684292706769146","22420651399641656906856938067841061065","107915716733364294363108207246431639104","295609000010251228626209023697303396806","321119054167401677862763981875818373517","316778911023531137246489758734100446709","311126900368849952629102460207722644156"],"threshold":0.9},"id":"CVE-2025-66623-c9f25114","signature_type":"Line","signature_version":"v1","source":"https://github.com/strimzi/strimzi-kafka-operator/commit/c8a14935e99c91eb0dd865431f46515da9f82ccc","target":{"file":"cluster-operator/src/main/java/io/strimzi/operator/cluster/model/KafkaCluster.java"},"deprecated":false}],"vanir_signatures_modified":"2026-10-28T10:45:54Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N"}]}