Description
Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and earlier are vulnerable to a login command which allowed impersonating any Jenkins user. The `login` command available in the remoting-based CLI stored the encrypted user name of the successfully authenticated user in a cache file used to authenticate further commands. Users with sufficient permission to create secrets in Jenkins, and download their encrypted values (e.g. with Job/Configure permission), were able to impersonate any other Jenkins user on the same instance.
Remediation
References
Related Vulnerabilities
Oracle JRE Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2026-22016)
Jboss EAP CVE-2016-6796 Vulnerability (CVE-2016-6796)
Apache HTTP Server NULL Pointer Dereference Vulnerability (CVE-2021-31618)
Apache HTTP Server Other Vulnerability (CVE-2004-1082)
WordPress Plugin VR Calendar Cross-Site Request Forgery (2.3.3)