Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsStudyTraining
ProjectsChecklistsAI RankingsNewsletterStatusTagsAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Study
Training
Projects
Checklists
AI Rankings
Newsletter
Status
Tags
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1154+ Articles
126+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. GlassFish Administration Console Authenticated RCE (CVE-2026-2586)
GlassFish Administration Console Authenticated RCE (CVE-2026-2586)

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2026-2586

GlassFish Administration Console Authenticated RCE (CVE-2026-2586)

An authenticated Remote Code Execution vulnerability in GlassFish's Administration Console (CVSS 9.1) allows users with panel access to execute arbitrary...

Dylan H.

Security Team

May 20, 2026
5 min read

Affected Products

  • GlassFish Administration Console

Executive Summary

A critical authenticated Remote Code Execution vulnerability (CVE-2026-2586) has been disclosed in the GlassFish Administration Console. Any user with access to the administration panel can craft malicious HTTP requests that trigger arbitrary operating system command execution, running with the privileges of the GlassFish service account.

With a CVSS score of 9.1 (Critical), this vulnerability represents a high-impact risk for any GlassFish deployment where the Administration Console is reachable — even over a private network — and where administrative credentials may have been compromised or shared.

CVSS Score: 9.1 (Critical)


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-2586
CVSS Score9.1 (Critical)
TypeOS Command Injection
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow (authenticated)
User InteractionNone
Affected ComponentGlassFish Administration Console
Public ExploitNot confirmed at publication
Published2026-05-19

Affected Products

ProductStatus
GlassFish Administration ConsoleVulnerable

GlassFish is Oracle's open-source Java EE / Jakarta EE application server. The Administration Console is a web-based management interface used to configure deployments, data sources, and server settings. It is typically deployed on port 4848 and requires authentication.


Technical Details

Vulnerability Root Cause

The Administration Console processes user-supplied input from authenticated requests without adequate sanitization before passing values to OS-level operations. An attacker with valid credentials to the console can supply specially crafted request parameters that inject shell metacharacters or command sequences, which are evaluated by the underlying operating system.

Attack Chain

1. Attacker obtains or guesses valid GlassFish admin credentials
   (default credentials, credential stuffing, or phishing)
 
2. Attacker authenticates to the Administration Console (port 4848 by default)
 
3. A crafted POST request targeting a vulnerable admin endpoint is submitted
   with injected OS command payload in a parameter value
 
4. GlassFish passes the unsanitized parameter to an OS-level function
   without adequate validation
 
5. The injected command executes with the privileges of the GlassFish
   service user (often a dedicated service account or root in misconfigured deployments)
 
6. Attacker achieves arbitrary code execution on the host server

Why CVSS 9.1?

The score reflects network-accessible exploitation requiring only low-privilege authenticated access, with no user interaction needed. All three impact categories (Confidentiality, Integrity, Availability) are rated High. The single scoring reduction from 10.0 is due to the authentication prerequisite, though in practice, default or weak admin credentials make this a low barrier for attackers.


Impact Assessment

Impact AreaDescription
Remote Code ExecutionArbitrary commands execute as the GlassFish service user
Data ExfiltrationAccess to application data, configuration files, and secrets stored on the host
Lateral MovementCompromised server may provide access to internal network resources
Credential TheftGlassFish keystore, database connection passwords, and API keys accessible
Service DisruptionAttacker can stop, reconfigure, or corrupt the GlassFish instance
Container Escape RiskContainerized deployments with host mounts may enable broader host access

Recommendations

Immediate Actions

  1. Restrict access to the GlassFish Administration Console — port 4848 should never be internet-facing; enforce firewall rules to allow access only from trusted admin subnets
  2. Change default admin credentials — GlassFish ships with default credentials (admin / admin); change these immediately if not already done
  3. Monitor for an official patch from Oracle or the Eclipse GlassFish project and apply when available
  4. Audit admin account access — review who has GlassFish admin credentials and revoke unnecessary access

Network-Level Mitigations

- Block port 4848 (GlassFish Admin Console) at the perimeter firewall
- Restrict access to trusted management VLAN or jump host only
- Enable mutual TLS for the admin console if supported by your version
- Place GlassFish behind a reverse proxy with additional authentication (e.g., mTLS or SSO)

Monitoring

- Alert on unexpected outbound connections from the GlassFish process user
- Monitor for anomalous child processes spawned by the Java service
- Review GlassFish server logs for unexpected admin console access patterns
- Enable audit logging in GlassFish for all administrative actions

Detection Indicators

IndicatorDescription
Unexpected child processes from Java/GlassFish PIDPossible command injection execution
Outbound connections to unfamiliar IPs from the serverPossible C2 or data exfiltration
New files or scripts in GlassFish deployment directoriesPossible web shell or backdoor placement
Changes to GlassFish configuration without admin session recordsPossible unauthorized access

Post-Remediation Checklist

  1. Apply available patch once released by Oracle/Eclipse GlassFish project
  2. Rotate all credentials associated with the GlassFish instance: admin passwords, database connection strings, and SSL/TLS keystores
  3. Audit deployed applications for unauthorized modifications or injected code
  4. Review OS-level accounts the GlassFish service runs as; ensure it uses a minimal-privilege service account
  5. Verify firewall rules confirm port 4848 is blocked from untrusted networks
  6. Review audit logs for the timeframe during which the vulnerability was exposed

References

  • NIST NVD — CVE-2026-2586
  • Eclipse GlassFish Project
  • CWE-78: OS Command Injection
#GlassFish#CVE-2026-2586#RCE#Remote Code Execution#Java#Application Server#NVD

Related Articles

GlassFish Gadget Handler Expression Language RCE (CVE-2026-2587)

A critical CVSS 9.6 Remote Code Execution vulnerability in GlassFish's server-side gadget handler allows attackers to inject Expression Language...

5 min read

CVE-2026-44050 — Netatalk CNID Daemon Heap Buffer Overflow RCE (CVSS 9.9)

A heap-based buffer overflow in the Netatalk CNID daemon comm_rcv() function allows a remote authenticated attacker to execute arbitrary code with...

6 min read

CVE-2025-15379: MLflow Command Injection in Model Serving (CVSS 10.0)

A maximum-severity command injection vulnerability in MLflow's model serving container initialization allows attackers to execute arbitrary OS commands...

6 min read
Back to all Security Alerts