CVE-2026-12986
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
Summary
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
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Payara | Payara Server | 7.2025.1 < 7.2026.6 | affected |
| Payara | Payara Server | 7.0.0 < 7.1.0 | affected |
| Payara | Payara Server | 6.0.0 < 6.39.0 | affected |
| Payara | Payara Server | 5.20.0 < 5.88.0 | affected |
| Payara | Payara Server | 4.1.144 < 4.1.2.191.56 | affected |
| Payara | Payara Server | 5.181 <= 5.201.2 | affected |
| Payara | Payara Server | 5.2020.1 <= 5.2022.5 | affected |
| Payara | Payara Server | 6.2023.1 <= 6.2025.11 | affected |
Weaknesses
- CWE-352: CWE-352 Cross-Site request forgery (CSRF)
- CWE-918: CWE-918 Server-Side request forgery (SSRF)
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.