{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-12986","assignerOrgId":"769c9ae7-73c3-4e47-ae19-903170fc3eb8","state":"PUBLISHED","assignerShortName":"Payara","dateReserved":"2026-06-23T11:45:33.366Z","datePublished":"2026-06-24T14:08:02.332Z","dateUpdated":"2026-06-24T14:52:26.473Z"},"containers":{"cna":{"providerMetadata":{"orgId":"769c9ae7-73c3-4e47-ae19-903170fc3eb8","shortName":"Payara","dateUpdated":"2026-06-24T14:18:36.828Z"},"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-352","description":"CWE-352 Cross-Site request forgery (CSRF)","type":"CWE"}]},{"descriptions":[{"lang":"en","cweId":"CWE-918","description":"CWE-918 Server-Side request forgery (SSRF)","type":"CWE"}]}],"impacts":[{"capecId":"CAPEC-664","descriptions":[{"lang":"en","value":"CAPEC-664 Server Side Request Forgery"}]},{"capecId":"CAPEC-62","descriptions":[{"lang":"en","value":"CAPEC-62 Cross Site Request Forgery"}]},{"capecId":"CAPEC-60","descriptions":[{"lang":"en","value":"CAPEC-60 Reusing Session IDs (aka Session Replay)"}]}],"affected":[{"vendor":"Payara","product":"Payara Server","platforms":["Windows","Linux","MacOS"],"packageName":"org.glassfish.main.admingui:console-common","repo":"https://github.com/payara/Payara/","modules":["Admin GUI"],"versions":[{"status":"affected","version":"7.2025.1","lessThan":"7.2026.6","versionType":"custom"},{"status":"affected","version":"7.0.0","lessThan":"7.1.0","versionType":"semver"},{"status":"affected","version":"6.0.0","lessThan":"6.39.0","versionType":"semver"},{"status":"affected","version":"5.20.0","lessThan":"5.88.0","versionType":"semver"},{"status":"affected","version":"4.1.144","lessThan":"4.1.2.191.56","versionType":"custom"},{"status":"affected","version":"5.181","lessThanOrEqual":"5.201.2","versionType":"custom"},{"status":"affected","version":"5.2020.1","lessThanOrEqual":"5.2022.5","versionType":"custom"},{"status":"affected","version":"6.2023.1","lessThanOrEqual":"6.2025.11","versionType":"custom"}],"defaultStatus":"affected"}],"descriptions":[{"lang":"en","value":"A critical vulnerability in Admin GUI in Payara Server Full 4.x, 5.x, 6.x, 7.x, 7.2026.x, 6.2025.x, 6.2024.x on All platforms that allows the attacker to leak the admin gfresttoken to an attacker-controlled host that can result in a full unauthenticated takeover of Payara admin domain.\n\nA Server-Side Request Forgery (SSRF) vulnerability in the DownloadServlet of the Admin GUI in Payara Server allows a remote attacker to exfiltrate the administrator's REST session token (gfresttoken) to an attacker-controlled host via a crafted request URL. Combined with the absence of CSRF protection on DownloadServlet, an unauthenticated attacker can trick a logged-in administrator into triggering the token leak, then replay the stolen token to gain full administrative access to the Payara domain, leading to arbitrary code execution via WAR deployment. The vulnerability exists in the DownloadServlet and associated ContentSource implementations (LogViewerContentSource, LogFilesContentSource, LBConfigContentSource, ClientStubsContentSource) within the admingui:console-common module.","supportingMedia":[{"type":"text/html","base64":false,"value":"A critical vulnerability in Admin GUI in Payara Server Full 4.x, 5.x, 6.x, 7.x, 7.2026.x, 6.2025.x, 6.2024.x on All platforms that allows the attacker to leak the admin gfresttoken to an attacker-controlled host that can result in a full unauthenticated takeover of Payara admin domain.<br><br>A Server-Side Request Forgery (SSRF) vulnerability in the DownloadServlet of the Admin GUI in Payara Server allows a remote attacker to exfiltrate the administrator's REST session token (gfresttoken) to an attacker-controlled host via a crafted request URL. Combined with the absence of CSRF protection on DownloadServlet, an unauthenticated attacker can trick a logged-in administrator into triggering the token leak, then replay the stolen token to gain full administrative access to the Payara domain, leading to arbitrary code execution via WAR deployment. The vulnerability exists in the&nbsp;<code>DownloadServlet</code>&nbsp;and associated&nbsp;<code>ContentSource</code>&nbsp;implementations (<code>LogViewerContentSource</code>,&nbsp;<code>LogFilesContentSource</code>,&nbsp;<code>LBConfigContentSource</code>,&nbsp;<code>ClientStubsContentSource</code>) within the&nbsp;<code>admingui:console-common</code>&nbsp;module.<br><div><br></div>"}]}],"tags":["x_open-source"],"references":[{"url":"https://docs.payara.fish/community/docs/Release%20Notes/Release%20Notes%207.2026.6.html","tags":["release-notes"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"ADJACENT","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"HIGH","exploitMaturity":"PROOF_OF_CONCEPT","Safety":"PRESENT","Automatable":"YES","Recovery":"USER","valueDensity":"CONCENTRATED","vulnerabilityResponseEffort":"MODERATE","providerUrgency":"AMBER","version":"4.0","baseSeverity":"HIGH","baseScore":7.3,"vectorString":"CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/S:P/AU:Y/R:U/V:C/RE:M/U:Amber"}}],"credits":[{"lang":"en","value":"sujaltuladhar1231@gmail.com","type":"reporter"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.2"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-24T14:52:09.838012Z","id":"CVE-2026-12986","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-06-24T14:52:26.473Z"}}]}}