CVE-2026-12986: CSRF
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.
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 DownloadServlet and associated ContentSource implementations (LogViewerContentSource, LogFilesContentSource, LBConfigContentSource, ClientStubsContentSource) within the admingui:console-common module.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-12986?
CVE-2026-12986 has a severity score of 92, indicating it is a critical vulnerability.
How do I fix CVE-2026-12986?
To fix CVE-2026-12986, update your Payara Server Full to the latest version provided by the vendor.
What types of attacks are possible due to CVE-2026-12986?
CVE-2026-12986 allows for a full unauthenticated takeover of the Payara admin domain through gfresttoken leakage.
Which versions of Payara Server are affected by CVE-2026-12986?
CVE-2026-12986 affects Payara Server Full versions 4.x, 5.x, 6.x, 7.x, 7.2026.x, 6.2025.x, and 6.2024.x.
What is the primary cause of CVE-2026-12986?
CVE-2026-12986 is primarily caused by vulnerabilities related to CSRF and SSRF in the Admin GUI.