Someone left the warehouse loading-dock key under the mat, and the door opens straight into the vault
CVE-2026-58231 is a code-injection flaw (CWE-94) in the Data Hub Adapter extension of SAP Commerce Cloud. The /datahubadapter/import/ endpoint accepts POSTed data from SAP Data Hub for ERP-to-storefront synchronization. The vulnerability arises because the extension ships with a default authentication client and performs insufficient input validation on import payloads, allowing an unauthenticated attacker to inject and execute arbitrary code on the Commerce Cloud application server. Affected versions are COM_CLOUD 2211 and COM_CLOUD 2211-JDK21; SAP fixed the flaw in 2211.55 and 2211-jdk21.17 via SAP Security Note 3771065**, released 2026-08-11.
The vendor CVSS 10.0 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H) is almost perfectly calibrated. The only reason to nudge below 10.0 is that the Data Hub Adapter extension must be enabled — it is not a universal component of every Commerce Cloud deployment, and SAP has officially deprecated Data Hub in favor of SAP Integration Suite. However, for shops that still run it (common in legacy ERP-integration architectures), the attack is trivially reachable: no authentication, no user interaction, network-accessible, and the default auth client is present out of the box. This is a genuine unauth-RCE-on-internet-infrastructure scenario, and the vendor severity is warranted.
5 steps from start to impact.
Discover Commerce Cloud instance
Server, X-Powered-By), known URL patterns (/yacceleratorstorefront/, /occ/v2/), or Shodan/Censys fingerprinting. SAP Commerce Cloud instances number in the thousands on the public internet.- Target runs SAP Commerce Cloud 2211 or 2211-JDK21
- Instance is internet-accessible
- Some deployments are behind CDN/WAF that strip fingerprinting headers
http.component:"SAP Commerce" or path-based probingProbe for Data Hub Adapter endpoint
/datahubadapter/import/ to confirm the extension is enabled. A 401/403 response (rather than 404) confirms the endpoint exists. The default authentication client credentials are well-known from SAP documentation and sample configs.- Data Hub Adapter extension is enabled on the target
- Default authentication client has not been rotated or removed
- Data Hub is deprecated; newer deployments may not include it
- Some operators may have already restricted the endpoint via IP Filter Sets
/datahubadapter/ path; HTTP access logs showing unexpected callers to this endpointAuthenticate with default client credentials
- Default authentication client credentials unchanged
- Security-mature orgs may have rotated or removed default clients during hardening
Submit crafted import payload with injected code
/datahubadapter/import/**. The payload exploits insufficient input validation — likely via ImpEx script injection or Spring Expression Language (SpEL) injection — to achieve arbitrary code execution on the Commerce Cloud JVM. The S:C (Changed Scope) in the CVSS vector indicates the attacker can break out of the vulnerable component's security scope.- Valid token from step 3
- Vulnerable code path in import handler
- No known friction once steps 1-3 succeed — exploitation is straightforward
Post-exploitation: data exfiltration and lateral movement
local.properties or JNDI configs, access customer PII and order data (PCI-scoped), harvest backend ERP credentials, pivot to internal SAP systems (S/4HANA, ECC), or deploy webshells for persistence. The Commerce Cloud server typically has network connectivity to backend ERP and payment systems.- Successful code execution from step 4
- Network segmentation between Commerce Cloud and backend ERP may limit lateral movement
- Database encryption at rest may limit bulk data exfiltration
The supporting signals.
| In-the-Wild Exploitation | No confirmed exploitation as of 2026-08-12. Not listed on CISA KEV. No campaigns attributed. Given the 1-day-old disclosure, weaponization is expected within days to weeks. |
|---|---|
| Proof of Concept | No public PoC identified as of 2026-08-12. No exploit code on GitHub PoC aggregators (SecureWithUmer/CVE-2026-PoCs, 0xMarcio/cve). The attack surface is well-understood (ImpEx/SpEL injection in SAP Commerce is a known class), so a PoC is likely trivial to develop. |
| EPSS | 0.00726 (≈ top 7-8 percentile). Low probability score reflects the 1-day-old disclosure; expect this to rise significantly if a PoC drops. |
| KEV Status | Not listed on CISA KEV as of 2026-08-12. |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H — 10.0. Network-accessible, no auth required, no user interaction, changed scope (can compromise resources beyond the vulnerable component). This is the maximum possible CVSS score. |
| Affected Versions | COM_CLOUD 2211 (all patch levels before 2211.55) and COM_CLOUD 2211-JDK21 (all patch levels before 2211-jdk21.17). Only deployments with the Data Hub Adapter extension enabled are vulnerable. |
| Fixed Versions | SAP Commerce Cloud 2211.55 and 2211-jdk21.17 or later. SAP Security Note 3771065. |
| Scanning / Exposure | Shodan shows thousands of SAP Commerce Cloud instances internet-accessible globally. The fraction with Data Hub Adapter enabled is unknown but estimated at 10-30% of legacy ERP-integrated deployments. Newer deployments using SAP Integration Suite are not affected. |
| Disclosure | 2026-08-11 — SAP August 2026 Patch Day. Coordinated disclosure; no prior public knowledge. |
| Reporting | Researcher not publicly credited. Vulnerability highlighted by Jonathan Stross at Pathlock as the most critical fix in August 2026 Patch Day. |
noisgate verdict.
The single most decisive factor is unauthenticated remote code execution via a default authentication client on internet-facing e-commerce infrastructure that handles PCI-scoped customer and payment data. The negligible downward adjustment from 10.0 to 9.8 reflects only that the Data Hub Adapter extension must be enabled — a condition that does not apply universally but does apply to a substantial minority of the installed base.
Why this verdict
- Unauthenticated network attack with zero friction: The CVSS vector is AV:N/AC:L/PR:N/UI:N — an attacker needs only network access to the storefront host. No credentials, no user interaction, no special race conditions. The default auth client ships with the product.
- Role multiplier: SAP Commerce Cloud is a *production e-commerce platform* handling customer PII, order data, and payment flows (PCI-DSS scope). Compromise yields direct access to regulated data and credentials for backend ERP systems (S/4HANA, ECC). In deployments where Commerce Cloud connects to SAP backends, the blast radius extends from *host → tenant → ERP landscape*. This is a high-value line-of-business tier, and ≥10% of affected installs serve as the primary revenue-generating storefront — the verdict floor is CRITICAL.
- Default-credential attack class is reliably weaponized: SAP Commerce Cloud has a history of default-credential and sample-config vulnerabilities (cf. CVE-2026-44761, the OAuth2 sample client flaw from July 2026 with CVSS 9.1). Attackers and scanners actively probe for SAP Commerce default configs. A PoC for this class of bug is trivial to develop.
- Changed Scope (S:C) reflects real pivot risk: The CVSS Changed Scope designation means the attacker can compromise resources beyond the Data Hub Adapter itself — the entire Commerce Cloud JVM, its database, and connected backend systems.
Why not higher?
The vendor score of 10.0 is the theoretical maximum, and noisgate's 9.8 is functionally identical. The minor 0.2-point reduction reflects that the Data Hub Adapter extension is not universally enabled and that Data Hub is officially deprecated, meaning the newest greenfield deployments are unaffected. There is no meaningful argument for a higher score.
Why not lower?
Downgrading below CRITICAL would require evidence that the Data Hub Adapter endpoint is rarely internet-reachable or that the default auth client is almost never present in production. Neither condition holds: the endpoint runs on the same application server as the storefront (same port, same host), and the default client is part of the extension's shipping configuration. The PCI-scoped data and ERP connectivity establish a blast radius that floors the verdict at CRITICAL regardless of friction on the extension-enablement prerequisite.
What to do — in priority order.
- Restrict
/datahubadapter/import/**via IP Filter Set immediately — SAP's recommended workaround: configure an IP Filter Set to allow only the trusted Data Hub server IP(s) to reach the import endpoint. This eliminates unauthenticated internet-based exploitation. Deploy within the noisgate mitigation SLA of 3 days for CRITICAL. - Rotate or remove the default Data Hub authentication client — If the default OAuth2 client shipped with the Data Hub Adapter extension is still present with factory credentials, remove it or replace the secret with a strong unique value. This breaks step 3 of the attack chain.
- Disable the Data Hub Adapter extension if not in active use — Data Hub is deprecated by SAP. If your ERP integration has migrated to SAP Integration Suite or CPI, remove the
datahubadapterextension from your Commerce Cloud deployment entirely. This eliminates the attack surface. - Deploy WAF rules blocking POST to
/datahubadapter/— As an additional layer, configure your WAF or reverse proxy to reject all external POST requests to/datahubadapter/paths. This provides defense-in-depth behind the IP Filter Set. - Monitor OAuth token grants to the default Data Hub client — Alert on any token issuance to the default Data Hub client, especially from non-Data-Hub IP addresses. This provides detection coverage for exploitation attempts.
- Network-level firewalling of the Commerce Cloud host — the storefront must be internet-accessible; the vulnerable endpoint shares the same host and port. You need application-layer filtering (IP Filter Set or WAF path rules), not network ACLs.
- Disabling HTTPS on the datahubadapter — the
datahubadapter.security.https.enabled=falseproperty only controls transport encryption, not access control. The endpoint remains reachable over HTTP. - Generic IDS/IPS signatures — without a public PoC, signature-based detection is unlikely to catch exploitation. The payload is application-layer (ImpEx/SpEL) within a legitimate-looking POST body.
Crowdsourced verification payload.
Run this script on each SAP Commerce Cloud application server as the OS user that owns the Hybris installation (typically hybris or commerce). Usage: bash check_cve_2026_58231.sh /opt/hybris where the argument is the Hybris installation root directory. No special privileges beyond read access to the installation directory are required.
#!/usr/bin/env bash
# check_cve_2026_58231.sh — Detect CVE-2026-58231 exposure in SAP Commerce Cloud
# Usage: bash check_cve_2026_58231.sh <HYBRIS_HOME>
# Output: VULNERABLE / PATCHED / UNKNOWN
# Exit codes: 0=PATCHED, 1=VULNERABLE, 2=UNKNOWN
set -euo pipefail
HYBRIS_HOME="${1:-}"
if [[ -z "$HYBRIS_HOME" ]]; then
echo "Usage: $0 <HYBRIS_HOME>"
exit 2
fi
# Step 1: Check if datahubadapter extension is enabled
LOCAL_EXT="$HYBRIS_HOME/config/localextensions.xml"
if [[ ! -f "$LOCAL_EXT" ]]; then
echo "UNKNOWN — cannot find localextensions.xml at $LOCAL_EXT"
exit 2
fi
if ! grep -qi 'datahubadapter' "$LOCAL_EXT"; then
echo "PATCHED — datahubadapter extension is not enabled (not vulnerable)"
exit 0
fi
echo "[INFO] datahubadapter extension IS enabled."
# Step 2: Check Commerce Cloud version/patch level
BUILD_INFO="$HYBRIS_HOME/bin/platform/build.number"
if [[ -f "$BUILD_INFO" ]]; then
VERSION=$(grep -i 'version' "$BUILD_INFO" | head -1 | cut -d'=' -f2 | tr -d '[:space:]')
echo "[INFO] Detected version: $VERSION"
else
VERSION="unknown"
echo "[WARN] Could not determine version from build.number"
fi
# Step 3: Check for patched JAR (2211.55+ or 2211-jdk21.17+)
# Look for the datahubadapter JAR and check its build metadata
DHA_JAR=$(find "$HYBRIS_HOME" -name 'datahubadapter*.jar' -path '*/bin/*' 2>/dev/null | head -1)
if [[ -n "$DHA_JAR" ]]; then
echo "[INFO] Found datahubadapter JAR: $DHA_JAR"
# Check manifest for patched version
MANIFEST_VERSION=$(unzip -p "$DHA_JAR" META-INF/MANIFEST.MF 2>/dev/null | grep -i 'Implementation-Version\|Bundle-Version' | head -1 | cut -d':' -f2 | tr -d '[:space:]' || true)
if [[ -n "$MANIFEST_VERSION" ]]; then
echo "[INFO] JAR version: $MANIFEST_VERSION"
fi
fi
# Step 4: Check if IP Filter Set is configured for datahubadapter (mitigation)
LOCAL_PROPS="$HYBRIS_HOME/config/local.properties"
MITIGATED=false
if [[ -f "$LOCAL_PROPS" ]]; then
if grep -qi 'datahubadapter.*filter\|ipfilter.*datahub' "$LOCAL_PROPS"; then
echo "[INFO] IP Filter Set may be configured for datahubadapter (check manually)"
MITIGATED=true
fi
fi
# Step 5: Verdict
# If we can confirm patched version, report PATCHED
if [[ "$VERSION" == *"2211.55"* || "$VERSION" == *"2211.56"* || "$VERSION" == *"2211.57"* || \
"$VERSION" == *"jdk21.17"* || "$VERSION" == *"jdk21.18"* || "$VERSION" == *"jdk21.19"* ]]; then
echo "PATCHED — Commerce Cloud version $VERSION includes fix for CVE-2026-58231"
exit 0
fi
if [[ "$MITIGATED" == true ]]; then
echo "VULNERABLE — datahubadapter is enabled on unpatched version, but IP filtering MAY be in place (verify manually)"
exit 1
fi
echo "VULNERABLE — datahubadapter extension is enabled on Commerce Cloud version $VERSION (pre-2211.55 / pre-jdk21.17). Apply SAP Note 3771065 immediately."
exit 1If you remember one thing.
datahubadapter extension is enabled. (2) Per the noisgate mitigation SLA of ≤ 3 days, immediately deploy SAP's recommended IP Filter Set workaround to restrict /datahubadapter/import/ to trusted Data Hub server IPs only, or disable the extension entirely if Data Hub is not in use. (3) Per the noisgate remediation SLA of ≤ 90 days, schedule the upgrade to Commerce Cloud 2211.55 or 2211-jdk21.17** (SAP Note 3771065), but push hard to apply the patch within days, not weeks — a public PoC for this class of SAP Commerce injection bug is likely imminent, and the storefront is internet-facing by design.Sources
- The Hacker News — SAP Commerce Cloud Flaw
- SecurityWeek — SAP Patches Critical Code Injection
- CSO Online — Patch Tuesday August 2026
- Layer Seven Security — SAP Security Notes August 2026
- Heise Online — SAP Commerce Cloud komplett kompromittierbar
- SAP Help Portal — Data Hub Adapter Tutorial
- CSA Singapore — Critical Vulnerabilities in SAP Commerce Cloud
What defenders are saying.
Crowdsourced verification outputs.
Results submitted by users who ran the verification payload against their environment.