Skip to main content
All incident reports
Incident report

OpenReplay cleanup job can execute attacker-supplied filenames as root

A flaw in OpenReplay's self-hosted Helm deployment lets a public upload supply a filename that a scheduled cleaner later executes as root. The advisory identifies v1.27.0 as removing the vulnerable shell call. Exploitation in the wild has not been confirmed.

· First published · Last updated

The short version

  • The execution path. The efs-cleaner CronJob inserts stored file paths into a Bash command. A filename supplied through the tracker upload path can therefore become code when the cleaner processes an old file.
  • Affected deployment. The advisory describes self-hosted OpenReplay releases v1.15.0 through v1.26.0 deployed with the official Helm chart, a reachable tracker ingestion endpoint and the vulnerable default efs-cleaner job.
  • Fix and version caveat. The advisory describes removal of the vulnerable shell call in v1.27.0, while its patched-versions field says >= v1.25. The source also reports backports. Inspect the deployed cleaner command as well as release information.
  • Evidence limits. No exploitation in the wild has been confirmed, and the advisory has no CVE identifier assigned. Root execution in the cleaner's workload does not itself establish escape to the Kubernetes node or cluster-admin access.

Timeline

DateEvent
30 NovOpenReplay publishes advisory GHSA-3ffg-9fwh-rhq7 describing command injection in the Helm efs-cleaner CronJob.

From a public upload to the retention cleaner

The tracker project key is public by design and can be used to open a session. The upload handler accepts names ending in .frames and removes line breaks; the canvases service stores the supplied filename. This leaves the filename under the client's control after the upload request completes.

Once the stored file exceeds the retention period, efs-cleaner passes its path into a Bash command that lists and removes it. The shell interprets syntax in the filename, producing command execution as root in that job's execution context.

Affected installations and the fix

The advisory names releases v1.15.0 through v1.26.0 using the official Helm chart and describes v1.27.0 as removing the unsafe shell call. Its >= v1.25 patched-version field conflicts with that range. The source reports that some older tags now include a backport, so a release label alone cannot establish which cleaner command is deployed.

The vulnerable default job is rendered without a security context, explicit service-account-token disabling or a NetworkPolicy, according to the advisory. These defaults warrant examining the deployed workload's privileges; they do not establish that a particular service account has administrative rights.

GHSA-3ffg-9fwh-rhq7 was published on 30 November and credits researcher smirnonyavka. The disclosed attack path is vulnerability evidence; no exploitation in the wild has been confirmed.

Analysis

This is a delayed trust-boundary failure: an upload can finish before a separate maintenance process interprets its filename as code. Testing should follow attacker-controlled names through storage and background jobs. An uneventful immediate response does not establish that later processing is safe.

Root in the cleaner's execution context is the demonstrated impact described by the source. Further reach depends on that workload's mounted data, credentials, network paths and effective permissions. Investigators should establish those permissions before treating the finding as a node escape or complete cluster compromise.

Remediation needs to cover the deployed job and previously accepted files. The documented retention delay means a suspicious upload can predate any resulting execution; incident review should correlate stored filenames, cleaner runs and child-process activity across that interval. This is an investigation approach, not evidence that exploitation occurred.

What ShadowMap sees: OpenReplay

  • 314 stolen credentials for openreplay.com accounts appear in infostealer logs.

    As of

  • 6 distinct subdomains of openreplay.com appear in public certificate transparency logs.

    As of

What is not known yet

  • Whether the vulnerability has been exploited in the wild.
  • How many deployed instances retain the vulnerable cleaner and a reachable ingestion endpoint.
  • The effective permissions and accessible data of any particular installation's cleaner workload.

What to do

If you run self-hosted OpenReplay

  1. Deploy the v1.27.0 fix or a verified backport and inspect the rendered efs-cleaner command.
  2. Check specifically whether file paths are substituted into a Bash command; a generic Bash string elsewhere in a manifest is not sufficient evidence of this flaw.
  3. Confirm the running job uses the corrected configuration rather than relying on a release label.

If the vulnerable job was deployed

  1. Review previously accepted filenames and cleaner execution history across the retention interval.
  2. Establish the cleaner workload's mounted data, credentials and effective permissions when assessing potential further access.

Update log

  • Explained delayed cleanup execution, distinguished workload root from cluster takeover, and clarified deployed-command checks and investigation scope.
  • First published.

Sources

New incident reports by email

One email a week with the reports published since the last one.

We email you about this topic only; unsubscribe any time. See our Privacy Policy.

Want us to look at your domain?

Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required.