CVE-2025-48374 zot logs secrets

Medium 5.5 Published Updated

Attackers with log access can steal Keycloak client secrets exposed in zot container startup logs when using OIDC authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-48374?

CVE-2025-48374 is a medium-severity vulnerability in project-zot zot, published on 22 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

zot is ancontainer image/artifact registry based on the Open Container Initiative Distribution Specification. Prior to version 2.1.3 (corresponding to pseudoversion 1.4.4-0.20250522160828-8a99a3ed231f), when using Keycloak as an oidc provider, the clientsecret gets printed into the container stdout logs for an example at container startup. Version 2.1.3 (corresponding to pseudoversion 1.4.4-0.20250522160828-8a99a3ed231f) fixes the issue.

Weakness: CWE-532

Which versions are affected by CVE-2025-48374?

3 open source packages ship an affected version, including zotregistry.dev/zot.

PackageAffectedFixed in
zotregistry.dev/zot GoAll versions1.4.4-0.20250522160828-8a99a3ed231f
zotregistry.dev/zot GoAll versions1.4.4-0.20250522160828-8a99a3ed231f
zotregistry.dev/zot GoAll versions1.4.4-0.20250522160828-8a99a3ed231f

How do I fix CVE-2025-48374?

Upgrade zotregistry.dev/zot to 1.4.4-0.20250522160828-8a99a3ed231f or later.

Is CVE-2025-48374 being exploited?

There is no known exploitation of CVE-2025-48374 in the wild and no public exploit code.

Sources

Also known as GHSA-c37v-3c8w-crq8, GO-2025-3705.

Is CVE-2025-48374 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free