← Vulnerability feed

Vulnerability record · CVE-2019-10405 · published 25 September 2019

CVE-2019-10405: Jenkins /whoAmI/ endpoint leaks HttpOnly session cookie value

Jenkins · Jenkins

Jenkins 2.196 and earlier, and LTS 2.176.3 and earlier, printed the value of the "Cookie" HTTP request header on the /whoAmI/ URL. Because the session cookie is marked HttpOnly, this endpoint defeats that protection by exposing the cookie value in the response body, which an attacker can read via a separate XSS flaw.

5.4 CVSS 3.1 Medium EPSS 65% · top 0.8% CWE-79 · Cross-site scripting
5.4CVSS 3.1 base score, v2 3.5
65%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

Description

Jenkins 2.196 and earlier, LTS 2.176.3 and earlier printed the value of the "Cookie" HTTP request header on the /whoAmI/ URL, allowing attackers exploiting another XSS vulnerability to obtain the HTTP session cookie despite it being marked HttpOnly.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

medium priorityCVSS rates it medium (5.4) and it requires chaining with a separate XSS flaw, but the high EPSS percentile and session-hijack impact warrant prompt patching.

What it is

Jenkins 2.196 and earlier, and LTS 2.176.3 and earlier, printed the value of the "Cookie" HTTP request header on the /whoAmI/ URL. Because the session cookie is marked HttpOnly, this endpoint defeats that protection by exposing the cookie value in the response body, which an attacker can read via a separate XSS flaw.

Impact

An attacker who can execute script in the victim's browser through another XSS vulnerability can read the session cookie from /whoAmI/ and hijack the authenticated Jenkins session, bypassing the HttpOnly flag.

Attack surface

Reached over the network via the /whoAmI/ URL; the CVSS vector indicates low privileges are required (PR:L) and no user interaction (UI:N), though the description frames the leak as chained with a separate XSS flaw.

Exploitation

Not listed in CISA KEV and no public exploit references are tagged in the record; EPSS is high at 0.6529 (99.22nd percentile), suggesting elevated likelihood of exploitation activity.

What to do

  • Upgrade Jenkins to a version after 2.196 (or LTS after 2.176.3) that no longer prints the Cookie header on /whoAmI/.
  • If immediate upgrade is not possible, restrict access to the /whoAmI/ endpoint and remove or mask the Cookie header from responses.
  • Remediate any XSS vulnerabilities in the Jenkins instance, since this flaw is only exploitable in combination with one.
  • Rotate session cookies and invalidate active sessions after patching to cut off any sessions already leaked.

Detection

  • Monitor web logs for requests to /whoAmI/ and inspect responses for Cookie header values.
  • Alert on anomalous or scripted access patterns to /whoAmI/ from unusual source IPs or user agents.
  • Hunt for XSS payloads in Jenkins request parameters that could be used to read the /whoAmI/ response.
  • Review Jenkins authentication logs for session reuse or hijacking indicators following /whoAmI/ access.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2019-10405 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-23897Jenkins CLI parser arbitrary file read via @ path expansionJenkins 2.441 and earlier, and LTS 2.426.2 and earlier, fails to disable a CLI command parser feature that replaces an '@' character followed by a fi…KEVEPSS 100%analysed9.8CVE-2018-1000861Jenkins Stapler framework URL routing allows remote code executionThe Stapler web framework in Jenkins 2.153 and earlier and LTS 2.138.3 and earlier lets attackers invoke unintended Java methods by requesting crafte…KEVEPSS 98%analysed9.8CVE-2017-1000353Jenkins CLI Java deserialization allows unauthenticated remote code executionJenkins 2.56 and earlier, and 2.46.1 LTS and earlier, deserialize attacker-supplied Java SignedObject data sent to the Jenkins CLI, bypassing the exi…KEVEPSS 100%analysed7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed7.5CVE-2015-5317Jenkins Fingerprints pages expose job and build namesJenkins before 1.638 and LTS before 1.625.2 expose sensitive job and build name information through the Fingerprints pages when requested directly. T…KEVEPSS 23%analysed9.8CVE-2021-21690Jenkins path traversal vulnerabilityAgent processes are able to completely bypass file path filtering by wrapping the file operation in an agent file path in Jenkins 2.318 and earlier, …EPSS 2.5%9.8CVE-2021-21691Jenkins link following vulnerabilityCreating symbolic links is possible without the 'symlink' agent-to-controller access control permission in Jenkins 2.318 and earlier, LTS 2.303.2 and…EPSS 2.1%9.8CVE-2021-21692Jenkins path traversal vulnerabilityFilePath#renameTo and FilePath#moveAllChildrenTo in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier only check 'read' agent-to-controller access p…EPSS 2.1%

Source: NIST National Vulnerability Database (record CVE-2019-10405), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.