CVE-2026-12986
JSON

7.3high

Payara Server Full has a Cross-Site Request Forgery vulnerability

Severity
7.3high CVSS:4.0 by Payara
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Payara
Also known as
GHSA-x939-7fq5-v9v6

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.

Affected

Product or packageVersionsReported by
org.glassfish.main.admingui:console-commonfrom 7.2025.1 before 7.2026.6, from 7.0.0 before 7.1.0, from 6.0.0 before 6.39.0, from 5.20.0 before 5.88.0, from 4.1.144 before 4.1.2.191.56, from 5.181 up to 5.201.2, from 5.2020.1 up to 5.2022.5, from 6.2023.1 up to 6.2025.11CVE List
fish.payara.distributions:payara (Maven)from 4.0.0 before 7.2026.6GitHub Advisory Database

All scores

Payara7.3high CVSS:4.0CVSS: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
GitHubhigh CVSS:4.0CVSS: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

Classification

CWE-352CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Una vulnerabilidad crítica en la GUI de administración en Payara Server Full 4.x, 5.x, 6.x, 7.x, 7.2026.x, 6.2025.x, 6.2024.x en todas las plataformas que permite al atacante filtrar el gfresttoken de administrador a un host controlado por el atacante, lo que puede resultar en una toma de control completa no autenticada del dominio de administración de Payara. Una vulnerabilidad de falsificación de petición del lado del servidor (SSRF) en el DownloadServlet de la GUI de administración en Payara Server permite a un atacante remoto exfiltrar el token de sesión REST del administrador (gfresttoken) a un host controlado por el atacante a través de una URL de petición manipulada. Combinado con la ausencia de protección CSRF en DownloadServlet, un atacante no autenticado puede engañar a un administrador que ha iniciado sesión para que active la fuga del token, luego reproducir el token robado para obtener acceso administrativo completo al dominio de Payara, lo que lleva a la ejecución de código arbitrario a través del despliegue de WAR. La vulnerabilidad existe en el DownloadServlet y las implementaciones de ContentSource asociadas (LogViewerContentSource, LogFilesContentSource, LBConfigContentSource, ClientStubsContentSource) dentro del módulo admingui:console-common.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12986 changed 2026-06-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-x939-7fq5-v9v6 changed 2026-09-25CC-BY-4.0
NVDCVE-2026-12986 changed 2026-10-25Public domain