CVE-2026-12986

State
Published
Severity
7.3 High
Published
Jun 24, 2026
Updated
Jun 24, 2026
Reserved
Jun 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.3 HighCVSS: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:AmberPayara

Weaknesses

  • CWE-352 Cross-Site request forgery (CSRF)
  • CWE-918 Server-Side request forgery (SSRF)

Affected Products

ProductVersions
Payara ServerPayara
  • 7.2025.1 to before 7.2026.6Affected
  • 7.0.0 to before 7.1.0Affected
  • 6.0.0 to before 6.39.0Affected
  • 5.20.0 to before 5.88.0Affected
  • 4.1.144 to before 4.1.2.191.56Affected
  • 5.181 through 5.201.2Affected
  • 5.2020.1 through 5.2022.5Affected
  • 6.2023.1 through 6.2025.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.