Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-12986: CWE-352 Cross-Site request forgery (CSRF) in Payara Payara Server

0
High
VulnerabilityCVE-2026-12986cvecve-2026-12986cwe-352cwe-918
Published: 06/24/2026 (06/24/2026, 14:08:02 UTC)
Source: CVE Database V5
Vendor/Project: Payara
Product: Payara Server

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.

CVSS v4.0

Score 7.3high

Attack Vector
Adjacent Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
Scope
P
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

Affected software

GitHub Actionsmore threats →cve
org.glassfish.main.admingui:console-common
pkg:github/org.glassfish.main.admingui:console-common
Affected versions
>=7.2025.1 <7.2026.6>=7.0.0 <7.1.0>=6.0.0 <6.39.0>=5.20.0 <5.88.0>=4.1.144 <4.1.2.191.56>=5.181 <=5.201.2>=5.2020.1 <=5.2022.5>=6.2023.1 <=6.2025.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 14:54:07 UTC

Technical Analysis

This vulnerability affects multiple versions of Payara Server's Admin GUI, specifically the DownloadServlet and related ContentSource implementations. An attacker can exploit a SSRF flaw combined with missing CSRF protections to cause a logged-in administrator to leak their REST session token to an attacker-controlled server. The stolen token can then be replayed to gain full administrative access to the Payara domain, allowing arbitrary code execution through WAR deployment. The affected components include DownloadServlet and ContentSource implementations such as LogViewerContentSource, LogFilesContentSource, LBConfigContentSource, and ClientStubsContentSource within the admingui:console-common module.

Potential Impact

Successful exploitation leads to full unauthenticated administrative takeover of the Payara Server admin domain. This includes the ability to execute arbitrary code by deploying malicious WAR files. The vulnerability compromises the confidentiality and integrity of the administrative session and the server environment.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is documented at this time. Until a patch is available, restrict access to the Admin GUI to trusted administrators only and avoid interacting with untrusted content while logged into the admin interface.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Payara
Date Reserved
2026-06-23T11:45:33.366Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3bec3deed863c81ef9ab7d

Added to database: 06/24/2026, 14:39:57 UTC

Last enriched: 06/24/2026, 14:54:07 UTC

Last updated: 06/24/2026, 15:39:23 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses