CVE-2026-12986
Payara Server Admin GUI SSRF and Token Leak Vulnerability
Description
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.
INFO
Published Date :
June 24, 2026, 3:16 p.m.
Last Modified :
June 25, 2026, 8:11 p.m.
Remotely Exploit :
No
Source :
769c9ae7-73c3-4e47-ae19-903170fc3eb8
Affected Products
The following products are affected by CVE-2026-12986
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 4.0 | HIGH | 769c9ae7-73c3-4e47-ae19-903170fc3eb8 | ||||
| CVSS 4.0 | HIGH | 769c9ae7-73c3-4e47-ae19-903170fc3eb8 |
Solution
- Update Payara Server to a non-vulnerable version.
- Apply vendor patches for Payara Server.
- Review and restrict access to Admin GUI.
- Disable vulnerable DownloadServlet if possible.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-12986.
| URL | Resource |
|---|---|
| https://docs.payara.fish/community/docs/Release%20Notes/Release%20Notes%207.2026.6.html |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-12986 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-12986
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-12986 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-12986 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 24, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-12986', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-24T14:52:09.838012Z'} -
New CVE Received by 769c9ae7-73c3-4e47-ae19-903170fc3eb8
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/payara/Payara/', 'vendor': 'Payara', 'modules': ['Admin GUI'], 'product': 'Payara Server', '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', 'versionType': 'custom', 'lessThanOrEqual': '5.201.2'}, {'status': 'affected', 'version': '5.2020.1', 'versionType': 'custom', 'lessThanOrEqual': '5.2022.5'}, {'status': 'affected', 'version': '6.2023.1', 'versionType': 'custom', 'lessThanOrEqual': '6.2025.11'}], 'platforms': ['Windows', 'Linux', 'MacOS'], 'packageName': 'org.glassfish.main.admingui:console-common', 'defaultStatus': 'affected'}] Added Description 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. Added CVSS V4.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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:Y/R:U/V:C/RE:M/U:Amber Added CWE CWE-352 Added CWE CWE-918 Added Reference https://docs.payara.fish/community/docs/Release%20Notes/Release%20Notes%207.2026.6.html