Skip to content
Misconfiguration Advisory Beginner CVE-2025-9276

Cockroach Labs cockroach-k8s-request-cert Empty Root Password Authentication Bypass Vulnerability

The container image's shadow file configured the root account with a blank password, so anyone who could reach the system could log in as root without credentials. An attacker could therefore bypass authentication on systems running the affected image.

Alfredo de Oliveira - Trend Micro Nebula Team Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

This vulnerability could allow remote attackers to bypass authentication on systems that use the affected version of the Cockroach Labs cockroach-k8s-request-cert container image.

Alfredo de Oliveira - Trend Micro Nebula Team, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The container image was built with a shadow file entry that left the root account's password field empty.

Impact

An attacker with access to a system running the affected image could bypass authentication and gain root access; the image is no longer part of the vendor's supported service.

What the attacker needed

Access to a system running the image

The fix

The image should have been built with a non-empty root password or with root login disabled; the vendor confirmed the image is no longer a supported component.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

On Linux, user passwords are stored in a file called the shadow file. If the root account there has no password set, the system lets anyone log in as the all-powerful root user without typing anything. This report says the container image shipped with exactly that mistake.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.