- In-house audit
- Information disclosure
- LVE-2026-0024
ModerateJenkins prints the initial admin password to the log on first start(LVE-2026-0024)
Jenkins shouts the password in the log — to people already standing in the server room.
- LVE ID
- LVE-2026-0024
- Verdict
- By design
- Affected product / version
- Jenkins · First start of a fresh Jenkins installation · 8d074b0
- Published
- 2026-11-28
Description
On first start, a fresh Jenkins install prints the initial admin password to the log inside a large block of asterisks and also writes it to secrets/initialAdminPassword. "Password written to logs in clear text" is a common scanner and audit finding.
Why it is harmless
The password is a one-time random value generated for each fresh install and is only used to enter the setup wizard.
Anyone who can read the start-up log or that file (mode 0640) is already on the server — which is exactly how the wizard proves you administer this machine.
Once a real admin is created in the wizard, the temporary admin account is deleted and the password file is removed.
Location
Read the code in core/src/main/java/jenkins/install/SetupWizard.java that generates the random password, writes the file and logs it, and the part of doCreateAdminUser that deletes the temporary account and file.
References
Show per-metric scoring rationale
DS score and vector · Per-metric breakdownScoring rubric →
PRPrecondition / Required privilege
LLocal or physical access
You must already sit at the server or hold a local shell.
+3 / 5
IMReal impact
TTheoretical only
Needs several unlikely conditions to line up before any impact is possible.
+2 / 5
EXReachability in default production config
DTriggers in default production config
Works in the out-of-the-box production setup — no penalty.
+0 / 5
PBPublicity / by design
FBy design (official “feature”)
Established project behavior that the vendor considers a feature.
+3 / 4
VBVendor / maintainer behavior
NNormal / no reply / n.a.
No extra baffling behavior — no penalty.
+0 / 4
FPFalse-positive factor
PReal but wildly exaggerated
It happened, but the description or rating is blown wildly out of proportion.
+1 / 4
Total S =9/ 41 →DS 5= min(10, 1 + ⌊S / 2⌋)
Seen something just as lame?
Fill in the form in two minutes. Once a maintainer approves it, your GitHub handle is credited on the entry — permanently.
No account on this site needed — just GitHub.