Default OAuth2 Credentials on SAP Commerce Cloud — Admin Token via Published Sample Secret (CVE-2026-44761)
Two OAuth2 clients on a SAP Commerce Cloud instance still used the default sample secret 'secret' published in SAP's documentation, allowing anyone to obtain a Bearer token with the highest admin role. An unauthenticated attacker could then read internal catalog data, including the unpublished Staged version, across all storefronts.
- Triaged in 11 hours
- Fixed in 52 days
- Disclosed after 3 months
Summary:
The SAP Commerce Cloud instance at ████████ has two ████████ OAuth2 clients (████████ and ████████) still configured with the default secret secret from SAP's sample ImpEx scripts. These credentials are published in SAP Help Portal documentation, so anyone can use them to obtain a valid Bearer token with ROLE_ADMINGROUP — the highest privilege level in SAP Commerce. No authentication, no account, no brute force needed.
Target
- https://████████/authorizationserver/oauth/token
- Affects all 14 ████████ storefronts (DE, UK, FR, IT, ES, NL, BE, AT, PT, SE, DK, FI, ZA + whitelabel-dk)
Steps to Reproduce
Step 1 — Request an admin token using the documented sample secret:
POST /authorizationserver/oauth/token HTTP/2
Host: ████████
Content-Type: application/x-www-form-urlencoded
X-HackerOne-Research: c5z5
client_id=████████&client_secret=secret&grant_type=client_credentials
Response (200 OK):
{
"access_token": "████████",
"token_type": "Bearer",
"expires_in": 3599
}
Decoded JWT payload:
{
"sub": "████████",
"roles": ["ROLE_ADMINGROUP"],
"iss": "https://████████/authorizationserver",
"exp": 1787612834
}
Step 2 — Same thing works for the CMS manager client:
client_id=████████&client_secret=secret&grant_type=client_credentials
Returns a token with ROLE_BASECMSMANAGERGROUP.
Step 3 — Confirm the token is active via introspection:
POST /authorizationserver/oauth/introspect HTTP/2
Host: ████████
Authorization: Basic ████████
Content-Type: application/x-www-form-urlencoded
token=████████
Response:
{
"active": true,
"sub": "████████",
"roles": ["ROLE_ADMINGROUP"],
"client_id": "████████",
"token_type": "Bearer"
}
Step 4 — The admin token gives access to internal data. For example, catalog data including the unpublished Staged version:
GET /occ/v2/████████/catalogs?fields=FULL HTTP/2
Host: ████████
Authorization: Bearer ████████
X-HackerOne-Research: c5z5
Returns full catalog structure with both Online and Staged catalog versions across all ████████ sites.
Additionally, trusted_client (the client specifically named in CVE-2026-44761) also exists and authenticates with secret, but is currently disabled — meaning someone partially mitigated but missed the ████████ clients.
##Note to Triage: The vulnerable endpoint is ████████ (SAP Commerce Cloud API). Since it is not explicitly listed in the Asset dropdown, I selected ████████ because the vulnerable API serves as the backend for the ████████ storefronts and directly impacts their data
Impact
An unauthenticated attacker can obtain admin-level OAuth2 tokens for ████████'s SAP Commerce Cloud using credentials that are publicly documented in SAP's own Help Portal. The ROLE_ADMINGROUP role is the highest privilege in SAP Commerce and grants access to any service that accepts OAuth2 Bearer tokens — CMS management, user administration, order data, and platform configuration. The secret secret is not a guess or a brute force result, it's the literal sample value from SAP's ImpEx documentation that was never changed for production. This is tracked as CVE-2026-44761 (CVSS 9.1), patched by SAP in July 2026 Security Note 3753495.
Context
SAP Commerce Cloud exposes an OAuth2 authorisation server that issues Bearer tokens to registered clients. Clients are configured with a client_id and a client_secret, and the client_credentials grant lets a client obtain a token on its own behalf, without any user account or login. The roles carried in the resulting token decide what the client can reach: ROLE_ADMINGROUP is the highest privilege level in SAP Commerce, and ROLE_BASECMSMANAGERGROUP covers CMS management.
The target here is the SAP Commerce Cloud instance behind the Essity storefronts, reported through HackerOne by c5z5. The report covers 14 storefronts: DE, UK, FR, IT, ES, NL, BE, AT, PT, SE, DK, FI, ZA and whitelabel-dk. The vulnerable endpoint is the authorisation server at /authorizationserver/oauth/token.
Setup
No account, no credentials and no tooling beyond an HTTP client were needed. The researcher sent plain form-encoded POST requests to the token endpoint, and used the introspection endpoint to confirm that the issued token was live. The only precondition was knowing the client_id values and the secret, which is published in SAP's own documentation.
Finding it
SAP ships sample ImpEx scripts that create OAuth2 clients, and those samples use the literal secret secret. The same values appear in SAP Help Portal documentation. The researcher found two clients on this instance still configured with that sample secret, and confirmed that the trusted_client client, the one specifically named in CVE-2026-44761, also authenticates with secret but is currently disabled. That suggests a partial mitigation was applied at some point, but the two other clients were missed.
Exploitation
Step 1: admin token from the documented sample secret
The first request asks for a token with the client_credentials grant, using the sample secret:
POST /authorizationserver/oauth/token HTTP/2
Host: ████████
Content-Type: application/x-www-form-urlencoded
X-HackerOne-Research: c5z5
client_id=████████&client_secret=secret&grant_type=client_credentials
The body is a standard form-encoded OAuth2 token request: client_id identifies the client, client_secret=secret is the published sample value, and grant_type=client_credentials asks for a token issued to the client itself rather than to a user. The X-HackerOne-Research header marks the traffic as research.
The server answered 200 OK:
{
"access_token": "████████",
"token_type": "Bearer",
"expires_in": 3599
}
Decoding the JWT payload showed the privilege level attached to the token:
{
"sub": "████████",
"roles": ["ROLE_ADMINGROUP"],
"iss": "https://████████/authorizationserver",
"exp": 1787612834
}
The roles claim carries ROLE_ADMINGROUP, the highest privilege level in SAP Commerce. The token is valid for 3599 seconds.
Step 2: the CMS manager client
The same request works against the second client:
client_id=████████&client_secret=secret&grant_type=client_credentials
This one returns a token with ROLE_BASECMSMANAGERGROUP, the CMS manager role.
Step 3: confirming the token is active
To show the token was genuinely live rather than a stale artefact, the researcher called the introspection endpoint:
POST /authorizationserver/oauth/introspect HTTP/2
Host: ████████
Authorization: Basic ████████
Content-Type: application/x-www-form-urlencoded
[redacted]
The endpoint is protected with HTTP Basic authentication, and the token under test is passed in the token form field. The response confirmed the token:
{
"active": true,
"sub": "████████",
"roles": ["ROLE_ADMINGROUP"],
"client_id": "████████",
"token_type": "Bearer"
}
Step 4: reaching internal data
With the admin token, the researcher queried the OCC API for catalogue data, including the unpublished Staged version:
GET /occ/v2/████████/catalogs?fields=FULL HTTP/2
Host: ████████
Authorization: Bearer ████████
X-HackerOne-Research: c5z5
The fields=FULL parameter asks for the complete representation. The response returned the full catalogue structure with both Online and Staged catalogue versions across all of the storefronts. The Staged version is the working copy that is not normally visible to the public, so this is data an ordinary visitor cannot reach.
The disabled client
trusted_client, the client named in CVE-2026-44761, also authenticates with secret but is currently disabled. The researcher reads this as a partial mitigation that left the two other clients untouched.
Note to triage
The vulnerable endpoint is the SAP Commerce Cloud API, which was not explicitly listed in the asset dropdown. The researcher selected the storefront asset instead, on the basis that the vulnerable API is the backend for the storefronts and directly affects their data.
Root cause
The mistake is a configuration one: production OAuth2 clients were left with the literal sample secret secret from SAP's ImpEx scripts, a value published in SAP Help Portal documentation. Because the secret is public, the client_credentials grant turns it into a valid token for anyone who knows the client_id. Nothing in the flow requires a user account, a login or a brute-force attempt. The existing defence, disabling trusted_client, was applied to only one of the clients, so the other two remained usable.
Impact
An unauthenticated attacker can obtain admin-level OAuth2 tokens for the SAP Commerce Cloud instance using credentials that are publicly documented by SAP. ROLE_ADMINGROUP is the highest privilege in SAP Commerce and grants access to any service that accepts OAuth2 Bearer tokens: CMS management, user administration, order data and platform configuration. The report demonstrates catalogue access, including the unpublished Staged version, across all of the storefronts. The secret is not a guess or a brute-force result; it is the literal sample value that was never changed for production. The issue is tracked as CVE-2026-44761 (CVSS 9.1) and was patched by SAP in July 2026 Security Note 3753495.
Fix
The report records that SAP patched the issue in July 2026 via Security Note 3753495.
Variants to test
Hunting notes
This kind of bug hides in OAuth2 client configuration on commerce and CMS platforms that ship sample configuration: the sample values are documented, so they are effectively public credentials. During recon, the signal is an exposed /authorizationserver/oauth/token endpoint. The researcher showed impact by going past the token itself: decoding the JWT to show ROLE_ADMINGROUP, confirming the token with introspection, and then using it to read the unpublished Staged catalogue across all storefronts. That chain, from a published sample secret to privileged internal data, is what makes the report concrete.
What happened, in plain words
A large online shop platform was running software called SAP Commerce Cloud. That software has a built-in "front desk" for handing out access passes, called an OAuth2 authorisation server. The passes it hands out are called tokens. Whoever holds a valid token can walk into parts of the system without typing a username or password.
To get a pass, a piece of software (called a "client") has to show two things: a name, the client_id, and a password, the client_secret. The problem in this report is simple and serious: two of those clients on this shop were still using the password secret. That is not a clever guess. It is the literal example password that SAP, the company that makes the software, prints in its own public documentation for everyone to read.
Because the password is public, anyone who knows the client name can ask for a pass and receive one with the highest level of permission in the whole system, ROLE_ADMINGROUP. The researcher, c5z5, reported this through HackerOne against the Essity programme. The report covers 14 storefronts: DE, UK, FR, IT, ES, NL, BE, AT, PT, SE, DK, FI, ZA and whitelabel-dk. The severity was rated medium.
Some words you will meet, explained first
Before the steps, here are the ideas the report leans on. Each one is explained from zero.
- API: a way for one computer program to talk to another, like a service counter in a shop. You hand over a request in a fixed format, and the counter hands back an answer. You do not see the shelves behind the counter; you only see what the counter gives you.
- Endpoint: one specific counter in that building. A web address like
/authorizationserver/oauth/tokenis an endpoint: it is the exact place you go to ask for a particular thing. - OAuth2: a standard set of rules for handing out access passes. Many websites use it so that one service can act on your behalf without ever seeing your password. It defines who can ask for a pass, how they prove who they are, and what the pass allows.
- Client: in OAuth2, a client is a piece of software that has been registered with the authorisation server. It has a name (
client_id) and a password (client_secret). Think of it as a company account at the front desk, rather than a person. - Token: the access pass itself. It is a long string of characters. Present it with a request and the server treats you as the holder of whatever permissions the pass carries. It is a bit like a cloakroom ticket: whoever holds the ticket gets the coat, no questions asked.
- Bearer token: a token where simply "bearing" (carrying) it is enough. There is no extra signature or handshake. If you have the string, you are in. That is why tokens must be kept secret.
- JWT: a token format that carries readable information inside it, such as who it belongs to and what it is allowed to do. It is encoded, not encrypted, so anyone holding it can decode it and read the contents. That is exactly what the researcher does in Step 1.
- Role: a label inside a token that says what the holder may do.
ROLE_ADMINGROUPis the highest role in SAP Commerce.ROLE_BASECMSMANAGERGROUPis a role for managing the content management system (CMS), the part of the shop where pages and content are edited. - Grant type: the flavour of request you make to the front desk.
client_credentialsmeans "give a pass to the client itself, not to a human user". No login screen, no user account, just the client name and password. - Hard-coded credentials: a password or key written directly into a program or configuration and never changed. The vulnerability class here is "Use of Hard-coded Credentials". The everyday comparison: leaving the factory default code on a safe, and printing that code in the manual.
- Introspection: a service where you can ask the authorisation server "is this pass still valid, and what does it allow?". Useful to prove a token is genuinely live and not an old, expired one.
- OCC API: the part of SAP Commerce that serves shop data (catalogues, products and so on) over HTTP. It is the counter the storefronts themselves use behind the scenes.
- Staged versus Online catalogue: a shop usually keeps two copies of its catalogue.
Onlineis what visitors see.Stagedis the working copy where staff prepare changes before publishing. Staged is not meant to be visible to the public. - CVE: a public catalogue number for a known security flaw, so people can refer to it unambiguously. This one is CVE-2026-44761.
- CVSS: a scoring system for how severe a flaw is. The report gives 9.1 for this CVE.
- Security Note: SAP's official advisory document describing a fix. Here it is Security Note 3753495, from July 2026.
- ImpEx: SAP's import/export script format. SAP ships sample scripts that create OAuth2 clients, and those samples use the password
secret.
The target
The report names two things as the target:
- https://████████/authorizationserver/oauth/token
- Affects all 14 ████████ storefronts (DE, UK, FR, IT, ES, NL, BE, AT, PT, SE, DK, FI, ZA + whitelabel-dk)
The first line is the front desk address: the endpoint where passes are requested. The second line says the problem is not confined to one country's shop. All 14 storefronts sit on the same underlying platform, so a pass obtained once works across them.
Setup: what was needed to try this
Almost nothing. No account, no password of a real person, no special software beyond something that can send a web request. The researcher sent ordinary form-style POST requests to the token endpoint, and used the introspection endpoint to check that the pass was live. The only things needed were the client names and the password, which SAP publishes in its own documentation.
That last point is the heart of the bug. Normally, breaking in requires guessing or stealing a password. Here the password is printed in the manual.
Finding it
SAP ships sample ImpEx scripts that create OAuth2 clients, and those samples use the literal password secret. The same values appear in SAP Help Portal documentation. The researcher found two clients on this instance still configured with that sample password.
The researcher also checked trusted_client, the client specifically named in CVE-2026-44761. It also accepts secret, but it is currently disabled. That detail matters: it looks like someone applied a partial fix at some point, disabling one client, but missed the other two. It is like changing the lock on the front door while leaving the back door on the same key.
Exploitation, step by step
Step 1: asking for an admin pass with the published sample password
The first request asks for a token using the client_credentials grant and the sample password:
POST /authorizationserver/oauth/token HTTP/2
Host: ████████
Content-Type: application/x-www-form-urlencoded
X-HackerOne-Research: c5z5
client_id=████████&client_secret=secret&grant_type=client_credentials
Line by line:
POST /authorizationserver/oauth/token HTTP/2says: send a request to this address, using the POST method (the method used when you are submitting something, not just asking to view a page), over version 2 of HTTP.Host: ████████names the server being talked to.Content-Type: application/x-www-form-urlencodedsays the body is formatted like a web form, the same format a browser uses when you submit a login form.X-HackerOne-Research: c5z5is a custom header marking the traffic as security research, so it can be recognised in logs.- The blank line separates the headers from the body.
client_id=████████is the client's name.client_secret=secretis the password. This is the published sample value.grant_type=client_credentialsasks for a pass issued to the client itself, not to a human user.
Why this step: if the client still uses the sample password, the front desk will hand over a pass without any further checks.
The server answered 200 OK, which means success:
{
"access_token": "████████",
"token_type": "Bearer",
"expires_in": 3599
}
What each field means:
access_tokenis the pass itself, the long string you would present on later requests.token_typeisBearer, meaning holding the string is enough.expires_inis 3599, the number of seconds the pass stays valid, just under an hour.
Decoding the JWT payload showed what the pass was allowed to do:
{
"sub": "████████",
"roles": ["ROLE_ADMINGROUP"],
"iss": "https://████████/authorizationserver",
"exp": 1787612834
}
subis the subject, who or what the pass belongs to.roleslists the permissions. Here it isROLE_ADMINGROUP, the highest privilege level in SAP Commerce.issis the issuer, the authorisation server that created the pass.expis the expiry time, expressed as a number of seconds since a fixed starting date.
Why this matters: the pass is not a low-level visitor pass. It is the master key.
Step 2: the same trick on the CMS manager client
The same request works against the second client:
client_id=████████&client_secret=secret&grant_type=client_credentials
This is the same form body as before, with a different client_id. The password is still secret, and the grant type is still client_credentials.
Why this step: it shows the problem is not a one-off. A second client was left with the same published password. This one returns a token with ROLE_BASECMSMANAGERGROUP, the CMS manager role, which covers managing the content system.
Step 3: proving the pass is genuinely live
A token could in principle be an old, expired or revoked one. To rule that out, the researcher asked the authorisation server directly whether the pass was active:
POST /authorizationserver/oauth/introspect HTTP/2
Host: ████████
Authorization: Basic ████████
Content-Type: application/x-www-form-urlencoded
[redacted]
Line by line:
POST /authorizationserver/oauth/introspect HTTP/2goes to the introspection endpoint, the counter that answers "is this pass valid?".Host: ████████names the server.Authorization: Basic ████████is HTTP Basic authentication, a simple scheme where a username and password are sent in an encoded header. The introspection endpoint itself is protected, so you must authenticate to ask your question.Content-Type: application/x-www-form-urlencodedsays the body is form-encoded.- `[redacted] is the pass being checked, passed as a form field.
The response confirmed it:
{
"active": true,
"sub": "████████",
"roles": ["ROLE_ADMINGROUP"],
"client_id": "████████",
"token_type": "Bearer"
}
active: truemeans the pass is currently valid, not expired or revoked.subis the subject again.rolesagain showsROLE_ADMINGROUP.client_idnames the client the pass belongs to.token_typeisBearer.
Why this step: it turns "the server gave me a string" into "the server itself confirms this string is a working master key".
Step 4: using the pass to reach internal data
With the admin pass in hand, the researcher queried the OCC API for catalogue data, including the unpublished Staged version:
GET /occ/v2/████████/catalogs?fields=FULL HTTP/2
Host: ████████
Authorization: Bearer ████████
X-HackerOne-Research: c5z5
Line by line:
GET /occ/v2/████████/catalogs?fields=FULL HTTP/2asks to read (GET) the catalogues for a particular shop site. The?fields=FULLpart asks for the complete representation rather than a trimmed-down one.Host: ████████names the server.Authorization: Bearer ████████presents the pass. This is the cloakroom ticket being handed over.X-HackerOne-Research: c5z5again marks the traffic as research.
The response returned the full catalogue structure with both Online and Staged catalogue versions across all of the storefronts. Online is what shoppers see. Staged is the working copy that is not normally visible to the public, so this is data an ordinary visitor cannot reach.
Why this step: a token alone is abstract. Showing that it opens a door to data the public cannot see is what demonstrates real impact.
The disabled client
trusted_client, the client named in CVE-2026-44761, also accepts secret but is currently disabled. The researcher reads this as a partial mitigation that left the two other clients untouched. In plain terms: someone fixed one of three doors.
Note to triage
The vulnerable endpoint is the SAP Commerce Cloud API, which was not explicitly listed in the asset dropdown on the reporting platform. The researcher selected the storefront asset instead, on the basis that the vulnerable API is the backend for the storefronts and directly affects their data. In other words, the dropdown did not have the exact item, so the closest correct one was chosen and the reason explained.
Root cause
The mistake is a configuration one. Production OAuth2 clients were left with the literal sample password secret from SAP's ImpEx scripts, a value published in SAP Help Portal documentation. Because the password is public, the client_credentials grant turns it into a valid token for anyone who knows the client name. Nothing in the flow requires a user account, a login or a brute-force attempt. The existing defence, disabling trusted_client, was applied to only one client, so the other two remained usable.
A useful comparison: it is as if a building's master key were printed in the manufacturer's manual, and the building manager changed one lock but not the others.
Impact
An unauthenticated attacker can obtain admin-level OAuth2 tokens for the SAP Commerce Cloud instance using credentials that are publicly documented by SAP. ROLE_ADMINGROUP is the highest privilege in SAP Commerce and grants access to any service that accepts OAuth2 Bearer tokens: CMS management, user administration, order data and platform configuration. The report demonstrates catalogue access, including the unpublished Staged version, across all of the storefronts. The password is not a guess or a brute-force result; it is the literal sample value that was never changed for production. The issue is tracked as CVE-2026-44761 (CVSS 9.1) and was patched by SAP in July 2026 Security Note 3753495.
Fix
The report records that SAP patched the issue in July 2026 via Security Note 3753495.
Variants to test
Hunting notes
This kind of bug hides in OAuth2 client configuration on commerce and CMS platforms that ship sample configuration. The sample values are documented, so they are effectively public credentials. During recon, the signal is an exposed /authorizationserver/oauth/token endpoint.
The researcher showed impact by going past the token itself: decoding the JWT to show ROLE_ADMINGROUP, confirming the token with introspection, and then using it to read the unpublished Staged catalogue across all storefronts. That chain, from a published sample password to privileged internal data, is what makes the report concrete. Each link in the chain answers a question a reviewer would otherwise ask: is the password really the sample one, is the token really live, and does it really reach data that matters.
Glossary
- API: a way for one program to talk to another, like a service counter with fixed request and response formats.
- Bearer token: an access pass where simply holding the string is enough to use it.
- Client: in OAuth2, a registered piece of software with a name (
client_id) and a password (client_secret). - client_credentials: an OAuth2 grant type that issues a token to the client itself, with no user login involved.
- CMS: content management system, the part of a shop where pages and content are edited.
- CVE: a public catalogue number for a known security flaw.
- CVSS: a scoring system for the severity of a security flaw.
- Endpoint: one specific address on a server where a particular request is handled.
- Grant type: the flavour of an OAuth2 token request, such as
client_credentials. - Hard-coded credentials: a password or key written directly into configuration or code and never changed.
- HTTP Basic authentication: a simple authentication scheme where a username and password are sent in an encoded header.
- ImpEx: SAP's import/export script format, used in sample scripts that create OAuth2 clients.
- Introspection: an endpoint where you ask the authorisation server whether a token is still valid and what it allows.
- JWT: a token format carrying readable information such as subject, roles and expiry; encoded, not encrypted.
- OAuth2: a standard set of rules for issuing access passes to clients.
- OCC API: the part of SAP Commerce that serves shop data such as catalogues over HTTP.
- Online catalogue: the published catalogue version that visitors see.
- Role: a label inside a token saying what its holder may do.
- ROLE_ADMINGROUP: the highest privilege level in SAP Commerce.
- ROLE_BASECMSMANAGERGROUP: the role covering CMS management.
- Staged catalogue: the working copy of a catalogue, not normally visible to the public.
- Token: the access pass issued by an authorisation server.