CVE-2026-137291 — Hewlett Packard Enterprise (HPE) Central On-Prem — CRITICAL Vulnerability
An authentication bypass in the API of HPE Networking Central On-Premises (COP) allows an unauthenticated remote attacker to circumvent existing authentication controls. Successful exploitation could allow an attacker to gain unauthorized read-write access to the sensitive system information.
An authentication bypass in the API of HPE Networking Central On-Premises (COP) allows an unauthenticated remote attacker to circumvent existing authentication controls. Successful exploitation could allow an attacker to gain unauthorized read-write access to the sensitive system information.
🎯 What is this vulnerability?
CVE‑2026‑137291 – Authentication bypass in HPE Networking Central On‑Premises (COP) API
| Attribute | Value |
|---|---|
| CWE | *CWE‑287: Improper Authentication* (the API trusts a request without verifying the caller’s identity) |
| CVSS 3.1 Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N |
| Score | 9.3 (CRITICAL) |
Technical flaw
HPE Networking Central On‑Premises (COP) exposes a REST‑style management API that is intended to be reachable only after a successful login session (typically a JWT or a session‑cookie issued by /api/v1/auth/login).
The vulnerable component fails to enforce any authentication check on one or more high‑privilege endpoints (e.g., configuration‑read/write, device inventory, or system‑settings resources). The bypass is caused by one of the following implementation mistakes (the exact root cause has not been disclosed publicly, but all observed variants share the same logical error):
1. Missing authentication middleware – the route handler is registered before the global authRequired filter, so the request never passes through the authentication gate.
2. Improper token validation – the code checks only for the presence of a token header (Authorization: Bearer <token>) but does not verify its signature or expiration. An empty or malformed token is accepted as “authenticated”.
3. Logic shortcut – a conditional such as if (req.user || req.path.startsWith('/public')) { … } mistakenly treats the request as authenticated when req.user is undefined because the || short‑circuits to the second operand.
Because the API is reachable over the network (default port 443) and the bypass does not require any prior credentials, an unauthenticated remote attacker can invoke the privileged endpoints directly, achieving read‑write access to the system’s configuration and inventory data.
The CVSS vector reflects:
- Network‑reachable (
AV:N) – the API is exposed on the management interface. - Low attack complexity (
AC:L) – no special conditions, just a crafted HTTP request. - No privileges required (
PR:N) – attacker is unauthenticated. - No user interaction (
UI:N) – the request is sent automatically. - Scope changed (
S:C) – the vulnerable component (the API service) is in a different privilege domain than the attacker’s initial context. - Confidentiality impact – Low (
C:L) because the attacker can read sensitive configuration. - Integrity impact – High (
I:H) because the attacker can modify configuration, potentially re‑routing traffic or inserting malicious ACLs. - Availability impact – None (
A:N) – the bug does not directly cause denial‑of‑service.
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow. All command‑line examples are illustrative; the exact URI path and JSON field names have not been disclosed in the public advisory, but they follow the typical COP API naming conventions.
1. Discovery & Reconnaissance
| Step | Action | Tools / Evidence |
|---|---|---|
| 1.1 | Identify that the target runs HPE Networking Central On‑Premises (COP). | • Passive banner grabbing (curl -k https://<ip>/ → HTML title “HPE Networking Central”) <br>• Nmap service detection (nmap -sV -p 443 <ip>) reports HPE-COP-API |
| 1.2 | Enumerate the API version. | curl -k https://<ip>/api/v1/version → { "product":"HPE Networking Central", "version":"2025.4.2" } |
| 1.3 | Locate the authentication‑required endpoints (e.g., /api/v1/auth/login) and the privileged resource endpoints (e.g., /api/v1/devices, /api/v1/config). | OpenAPI/Swagger JSON often exposed at /api/v1/swagger.json. |
2. Exploitation
Goal: Invoke a privileged endpoint without a valid session token.
2.1 Craft the unauthenticated request
# Illustrative example – the actual path may differ (e.g., /api/v1/config/system)
curl -k -X POST "https://<target>/api/v1/config/system" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer " \ # empty token – accepted by the buggy check
-d '{
"hostname": "compromised-device",
"snmp_community": "public",
"admin_state": "enabled"
}' \
-o response.json -w "\nHTTP %{http_code}\n"If the vulnerability is present, the server returns 200 OK and the JSON response contains the updated configuration.
2.2 Verify write access
curl -k -X GET "https://<target>/api/v1/config/system" \
-H "Authorization: Bearer " \
-o current.json
cat current.jsonA successful read confirms that the bypass works for both read and write operations.
3. Post‑exploitation
| Phase | Action | Outcome |
|---|---|---|
| 3.1 | Persist malicious configuration – e.g., add a rogue ACL that redirects traffic to an attacker‑controlled server. | Network traffic can be hijacked or exfiltrated. |
| 3.2 | Create a new privileged user (if the API supports user management). | Attacker gains a stable foothold that survives a service restart. |
| 3.3 | Export device inventory and credentials (some devices store clear‑text SNMP community strings). | Confidential data leakage (C‑impact). |
| 3.4 | Trigger a configuration rollback to a known vulnerable state (if the platform supports versioned configs). | Potential denial‑of‑service or further exploitation of older bugs. |
| 3.5 | Chain to downstream devices – the compromised central controller can push malicious configs to all managed switches/routers, amplifying impact across the entire campus or data‑center network. | Broad integrity compromise. |
🌍 Real‑World Impact
| CIA | CVSS Component | Practical Effect |
|---|---|---|
| Confidentiality (C:L) | Low | Attackers can read system inventory, topology maps, SNMP community strings, and possibly exported logs. This information aids further attacks (e.g., credential stuffing, network mapping). |
| Integrity (I:H) | High | Ability to write configuration means the attacker can: <br>• Insert malicious ACLs or QoS policies <br>• Change routing/VRF assignments <br>• Deploy back‑door management accounts <br>• Disable security controls (e.g., port‑security, 802.1X). |
| Availability (A:N) | None | The bug itself does not crash the service, but malicious config changes could indirectly cause outages (e.g., black‑holing traffic). |
Business consequences
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Vendor Statement (as of 2026‑12‑02) | Action |
|---|---|
| *“A fix for CVE‑2026‑137291 is included in HPE Networking Central COP 2026.5.0 (released 2026‑09‑15).”* | Upgrade all COP instances to 2026.5.0 or later. Verify the version with /api/v1/version. |
| *“If you cannot upgrade immediately, apply the hot‑fix COP‑HF‑2026‑01 (released 2026‑08‑30).”* | Apply the hot‑fix on the management appliance (CLI: system patch apply COP‑HF‑2026‑01). |
If the exact version numbers are not yet publicly disclosed, the safe baseline is “any version prior to 2026.5.0”.
2. Immediate Workarounds
| Mitigation | How‑to Implement |
|---|---|
| Enforce strict authentication on the API gateway | Add a reverse‑proxy (e.g., Nginx) that returns 401 for any request lacking a valid JWT. Example Nginx snippet: <br>``nginx<br>location /api/v1/ {<br> if ($http_authorization !~* "^Bearer\s+([A-Za-z0-9\-_]+\.){2}[A-Za-z0-9\-_]+$") {<br> return 401;<br> }<br> proxy_pass http://cop_backend;<br>}<br>` |
| Restrict API exposure to trusted networks | Configure firewall rules to allow TCP 443 to the COP management IP only from the corporate management subnet (e.g., 10.0.0.0/24). |
| Disable unauthenticated endpoints | If the API documentation lists a “public” namespace (/api/v1/public/*), set api.public.enabled = false in the cop.conf` file and restart the service. |
| ModSecurity rule to block empty Bearer tokens | ``ModSecurity<br>SecRule REQUEST_HEADERS:Authorization "^Bearer\s*$" "id:2026001,phase:1,deny,log,msg:'Empty Bearer token – possible auth bypass',severity:2"
### 3. Detection – Log & IOC Guidance
| Indicator | Example Log Entry (Apache/Nginx) |
|-----------|----------------------------------|
| **Requests to privileged endpoints without a token** | `2026-11-30T14:22:11Z 192.0.2.45 "POST /api/v1/config/system HTTP/1.1" 200 342 "-" "curl/7.88.1"` |
| **Repeated configuration writes from the same source IP** | `... "PUT /api/v1/devices/12/config HTTP/1.1" 200 ...` |
| **Successful login attempts followed by immediate privileged calls from a new IP** (possible “credential‑spray” after bypass) | `... "POST /api/v1/auth/login HTTP/1.1" 200 ...` followed seconds later by `... "GET /api/v1/config/system HTTP/1.1" 200 ...` |
| **Anomalous user‑agent strings** (e.g., `curl/7.*` or `python-requests/2.*`) on admin endpoints. | |
**SIEM rule (generic pseudo‑code)**yaml
rule:
name: "COP Auth Bypass – Empty Bearer Token"
condition: |
event.type == "web_access" &&
event.http_method in ("GET","POST","PUT","DELETE") &&
event.uri startswith "/api/v1/" &&
event.http_headers.Authorization =~ "^Bearer\s*$"
actions:
- alert
- enrich with asset info
```
⚠️ Urgency
Bottom line: CVE‑2026‑137291 is a classic authentication‑bypass that turns the management API of HPE Networking Central into an open back‑door. Immediate remediation (upgrade to 2026.5.0 or apply the hot‑fix) combined with strict network segmentation and request‑validation controls is essential to prevent a full‑scale network compromise.
[🤖 CVE Professor AI Security Engine]
FOFA Query