CVE-2026-12986

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

VendorProductVersion RangeStatus
PayaraPayara Server7.2025.1 < 7.2026.6affected
PayaraPayara Server7.0.0 < 7.1.0affected
PayaraPayara Server6.0.0 < 6.39.0affected
PayaraPayara Server5.20.0 < 5.88.0affected
PayaraPayara Server4.1.144 < 4.1.2.191.56affected
PayaraPayara Server5.181 <= 5.201.2affected
PayaraPayara Server5.2020.1 <= 5.2022.5affected
PayaraPayara Server6.2023.1 <= 6.2025.11affected

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