Skip to content
Cloud · Secret guide

Leaked Adobe Client Secret: what to do in the first hour

High severityDetected onlyLast verified · 5 min read

An Adobe client secret is the password that an application uses to prove its identity to Adobe when it asks for an access token. Together with the client ID, it lets the holder obtain tokens for Adobe APIs in the name of your integration. Depending on what that integration is allowed to do, those APIs can cover creative assets, document services and data platform features. The secret does not hold your users’ passwords, but it does let someone act as your application, so a leaked one should be rotated promptly.

Check your GitHub account for leaked secrets — free

Provider
Adobe
Severity
High
Impact
Source code and build access
Checked live by LeakWatch
No

What an Adobe Client Secret looks like

Adobe client secrets for server-to-server integrations begin with a short marker, the letter p, the digit 8, the letter e and a hyphen. The marker is followed by a block of letters and digits. The overall value is short compared with many tokens, and it is usually stored next to a client ID in a configuration file:

p8e-XXXX…    (client secret, masked)

Because the marker is short, the same letters can occur by chance in other text, so a match needs a closer look at the surrounding context. The client ID is not secret on its own, but the two values together are enough to request tokens. Adobe’s documentation for server-to-server credentials covers how to rotate the client secret. We could not confirm the exact marker from Adobe’s documentation during this review, so treat the match as a strong hint rather than proof.

How Adobe client secrets get leaked

  • Committed configuration files. A file with the client ID and secret, saved in a repository or a shared drive.
  • Environment files and containers. A .env file or a Docker image that includes the credentials in a layer.
  • Front-end code. A secret placed in a browser application, where every visitor can read it. Server-to-server credentials must stay on the server.
  • Logs. A request logger that records the form body of the token request, which includes the client secret.
  • Shared examples. A code sample pasted into a support ticket or a forum with the real secret left in place of the placeholder.

What to do in the first hour

  1. Add a new client secret first. In the Adobe Developer Console, open the credential for the leaked secret and generate a second secret. Adobe’s guidance is to add the new secret before you remove the old one, so the application keeps working during the switch.
  2. Switch the application to the new secret. Deploy it through your secret store, and confirm that the application can still obtain an access token.
  3. Delete the old secret. Once the new one works, delete the leaked secret in the console. A deleted client secret cannot be restored, so make sure no other service still uses it. Check the last-used information shown for each secret before you delete it, if the console displays it.
  4. Review the activity. Look at the usage reports for the APIs that the credential can reach, for the period since the secret may have been exposed. Look for unfamiliar volume, unusual API calls and requests from addresses you do not know.
  5. Review the scope. Check which products and APIs the integration is added to, and remove any that it no longer needs. Narrow the permissions of the technical account behind it where possible.
  6. Clean the repository after the rotation: remove the value from the files, add the file to .gitignore and decide whether to rewrite history. Any clone made before the cleanup still holds the old value.

Not sure what else leaked? Run a free scan. For the order of steps, see I accidentally pushed an API key to GitHub.

Not sure what else leaked? Run a free scan.

Revoke it at Adobe

Open the account settings of the Adobe Developer Console, go to the project that holds the integration, and open the credential that owns the leaked secret. From there you can add a new client secret and delete the old one. Adobe also documents a programmatic route for rotating secrets, which requires the right API to be added to the project and an access token for the project. The exact labels in the console can change, so check them when you act. We did not confirm the current console wording against Adobe’s pages during this review. Adobe’s developer documentation for server-to-server authentication is the reference to follow for the steps.

How LeakWatch detects it

The rule is called Adobe Client Secret. It looks for the short marker described above followed by exactly 32 letters or digits, and it ignores case, so upper-case and lower-case variants both match. Values with a different marker, or with a different number of characters, are not reported. The severity is high, with the impact class for identity code, because a client secret lets the holder obtain tokens for the integration. This type is not checked live: LeakWatch does not send the secret to Adobe.

LeakWatch detects this format but does not check it live: it can tell you the key is exposed, not whether it still works. Assume it does until you have revoked it.

FAQ

Is a secret in a private repository a problem?

It can be. Anyone with access to the repository, every clone and every CI log can read it. Treat it as exposed if the repository was ever public or shared with people outside the team.

Does rotating the secret change my Adobe users' accounts?

No. The client secret belongs to the integration, not to the people who use the product. Rotating it does not change user passwords or licenses, but any service that still uses the old secret will stop authenticating.

Can I just leave the old secret in place as a backup?

Not if it may have leaked. A secret kept as a fallback remains valid, and anyone who has the leaked copy can still use it. Add the new secret, switch, and delete the old one.

Get alerted next time a secret leaks — create a free account

LeakWatch is not affiliated with Adobe.