CVE-2025-48374: zot logs secrets
Summary When using Keycloak as an oidc provider, the clientsecret gets printed into the container stdout logs for an example at container startup. Details Container Image (15.04.2025): ghcr.io/project-zot/zot-linux-amd64:latest Here is an example how the configuration can look which causes the above stated problem: http: address: "0.0.0.0" port: 5000 externalUrl: "https://zot.example.com" auth: { failDelay: 1,…
Published May 22, 2025 · Updated May 28, 2025
Affected packages
zotregistry.dev/zot
- Ecosystem
- Go
- Affected
- < 1.4.4-0.20250522160828-8a99a3ed231f
- Fixed in
- 1.4.4-0.20250522160828-8a99a3ed231f
- Check
go list -m zotregistry.dev/zot
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
When using Keycloak as an oidc provider, the clientsecret gets printed into the container stdout logs for an example at container startup.
Details
Container Image (15.04.2025): ghcr.io/project-zot/zot-linux-amd64:latest Here is an example how the configuration can look which causes the above stated problem:
http: address: "0.0.0.0" port: 5000 externalUrl: "https://zot.example.com" auth: { failDelay: 1, openid: { providers: { oidc: { name: "Keycloak", clientid: "zot-client-id", clientsecret: fsdfkmmiwljasdklfsjaskldjfkljewijrf234i52k3j45l, keypath: "", issuer: "https://keycloak.example.com/realms/example", scopes: ["openid"] } } } }
PoC
Set up a blank new zot k8s deployment with the code snippet above.
Impact
exposure of secrets, on configuring a oidc provider
Credited to lgtm-dude.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-31801
zot’s create-only policy allows overwrite attempts of existing latest tag (update permission not required)
high7.7No fixMar 10, 2026CVE-2025-23208
Zot IdP group membership revocation ignored
high7.3Jan 17, 2025CVE-2024-39897
Cache driver GetBlob() allows read access to any blob without access control check
medium4.3Jul 9, 2024
