An improper authorization vulnerability exists in Jenkins 2.158 and earlier, LTS 2.150.1 and earlier in core/src/main/java/hudson/security/AuthenticationProcessingFilter2.java that allows attackers to extend the duration of active HTTP sessions indefinitely even though the user account may have been deleted in the mean time.
https://github.com/advisories/GHSA-8qxp-g8jv-p37x
https://jenkins.io/security/advisory/2019-01-16/#SECURITY-901
https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-3220