CVE-2026-12986: CWE-352 Cross-Site request forgery (CSRF) in Payara Payara Server
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.
AI Analysis
Technical Summary
This vulnerability affects multiple versions of Payara Server's Admin GUI, specifically the DownloadServlet and related ContentSource implementations. An attacker can exploit a SSRF flaw combined with missing CSRF protections to cause a logged-in administrator to leak their REST session token to an attacker-controlled server. The stolen token can then be replayed to gain full administrative access to the Payara domain, allowing arbitrary code execution through WAR deployment. The affected components include DownloadServlet and ContentSource implementations such as LogViewerContentSource, LogFilesContentSource, LBConfigContentSource, and ClientStubsContentSource within the admingui:console-common module.
Potential Impact
Successful exploitation leads to full unauthenticated administrative takeover of the Payara Server admin domain. This includes the ability to execute arbitrary code by deploying malicious WAR files. The vulnerability compromises the confidentiality and integrity of the administrative session and the server environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is documented at this time. Until a patch is available, restrict access to the Admin GUI to trusted administrators only and avoid interacting with untrusted content while logged into the admin interface.
CVE-2026-12986: CWE-352 Cross-Site request forgery (CSRF) in Payara Payara Server
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.
CVSS v4.0
Score 7.3high
Affected software
pkg:github/org.glassfish.main.admingui:console-commonRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects multiple versions of Payara Server's Admin GUI, specifically the DownloadServlet and related ContentSource implementations. An attacker can exploit a SSRF flaw combined with missing CSRF protections to cause a logged-in administrator to leak their REST session token to an attacker-controlled server. The stolen token can then be replayed to gain full administrative access to the Payara domain, allowing arbitrary code execution through WAR deployment. The affected components include DownloadServlet and ContentSource implementations such as LogViewerContentSource, LogFilesContentSource, LBConfigContentSource, and ClientStubsContentSource within the admingui:console-common module.
Potential Impact
Successful exploitation leads to full unauthenticated administrative takeover of the Payara Server admin domain. This includes the ability to execute arbitrary code by deploying malicious WAR files. The vulnerability compromises the confidentiality and integrity of the administrative session and the server environment.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is documented at this time. Until a patch is available, restrict access to the Admin GUI to trusted administrators only and avoid interacting with untrusted content while logged into the admin interface.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Payara
- Date Reserved
- 2026-06-23T11:45:33.366Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3bec3deed863c81ef9ab7d
Added to database: 06/24/2026, 14:39:57 UTC
Last enriched: 06/24/2026, 14:54:07 UTC
Last updated: 06/24/2026, 15:39:23 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.