Cross-site request forgery in Payara Server
Key facts
- Attack vector
- Adjacent network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Payara Platform | Payara Server | 7.2025.1 to before 7.2026.6; 7.0.0 to before 7.1.0; 6.0.0 to before 6.39.0; 5.20.0 to before 5.88.0; 4.1.144 to before 4.1.2.191.56; 5.181 – 5.201.2; 5.2020.1 – 5.2022.5; 6.2023.1 – 6.2025.11 | 7.2026.6, 7.1.0, 6.39.0, 5.88.0, 4.1.2.191.56 | Patch available | CNA |
| — | fish.payara.distributions:payara (Maven) | 4.0.0 to before 7.2026.6 | 7.2026.6 | Patch available | GHSA-x939-7fq5-v9v6 |
- Payara Server VendorPayara Platform Affected 7.2025.1 to before 7.2026.6; 7.0.0 to before 7.1.0; 6.0.0 to before 6.39.0; 5.20.0 to before 5.88.0; 4.1.144 to before 4.1.2.191.56; 5.181 – 5.201.2; 5.2020.1 – 5.2022.5; 6.2023.1 – 6.2025.11 Fixed in 7.2026.6, 7.1.0, 6.39.0, 5.88.0, 4.1.2.191.56 Patch available CNA
- fish.payara.distributions:payara (Maven) Vendor— Affected 4.0.0 to before 7.2026.6 Fixed in 7.2026.6 Patch available GHSA-x939-7fq5-v9v6
Remediation
- Fix · CNA Payara Server (Payara) Fixed in 7.2026.6, 7.1.0, 6.39.0, 5.88.0, 4.1.2.191.56
- Fix · GHSA-x939-7fq5-v9v6 fish.payara.distributions:payara (Maven) Fixed in 7.2026.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-12986
- 2026-10-03 Alias added: GHSA-x939-7fq5-v9v6
References
Other 5
- https://docs.payara.fish/community/docs/Release%20Notes/Release%20Notes%207.2026.6.html
- https://github.com/payara/Payara/pull/8229
- https://github.com/payara/Payara/commit/be83ab093692bafb09125323f3fdefaeab9cc398
- https://github.com/payara/Payara
- https://github.com/payara/Payara/releases/tag/payara-server-7.2026.6
More Payara Platform vulnerabilities
- TI-2022-22205 Payara before 2022-11-04, when deployed to the root context, allows attackers to visit… CVSS 3.1HIGH 7.5
- TI-2021-18200 Payara Micro Community 5.2021.6 and below allows Directory Traversal. CVSS 3.1HIGH 7.5
- TI-2023-13003 A JNDI rebind operation in the default ORB listener in Payara Server 4.1.2.191… CVSS 3.1CRITICAL 9.8
- TI-2024-07614 Payload Injection Attack via Management REST interface CVSS 4.0HIGH 8.7
- TI-2025-13101 Admin Account Takeover via malicious URL payload CVSS 4.0HIGH 7.3
- TI-2022-17489 Payara through 5.2022.2 allows directory traversal without authentication. CVSS 3.1HIGH 7.5
Sources
- CVE-2026-12986 · CVE Program
- CVE-2026-12986 · NVD
- FIRST EPSS
- GHSA-x939-7fq5-v9v6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences