Description
OpenProject is open-source, web-based project management software. Prior to , the official openproject/openproject Docker image ships ENV SECRET_KEY_BASE=OVERWRITE_ME as the default Rails master key. Combined with cookies_serializer = :marshal, this gives any logged-in user a deterministic Marshal-deserialization path reachable via the /my/two_factor_devices cookie reader This vulnerability is fixed in .
Published: 2026-06-26
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

OpenProject’s official Docker image sets the Rails master key to the literal string OVERWRITE_ME by default and configures cookies_serializer to :marshal. This combination allows any authenticated user to send a specially crafted /my/two_factor_devices cookie that is deterministically deserialized by Ruby’s Marshal module. The deserialization of an arbitrary payload gives the attacker the ability to execute arbitrary Ruby code within the OpenProject application process. This flaw is a classic insecure deserialization vulnerability (CWE‑502) compounded with misuse of a binary serialization format (CWE‑1188, CWE‑1392) and improper secret handling (CWE‑798).

Affected Systems

OpenProject deployments that use the openproject/openproject Docker image prior to the version that fixed the issue are affected. Any container configured with the default environment variable SECRET_KEY_BASE=OVERWRITE_ME and cookies_serializer set to :marshal falls into this category.

Risk and Exploitability

The CVSS base score of 9.9 marks this as a critical issue. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. An attacker must be able to log in or otherwise possess an authenticated session, but once authenticated they can supply the malicious cookie directly to trigger code execution. Because the attack originates from a legitimate authenticated session and the payload can be delivered via a standard HTTP cookie, the risk of exploitation can be high in environments where default image settings are not overridden.

Generated by OpenCVE AI on June 26, 2026 at 22:01 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Set the ENV variable SECRET_KEY_BASE to a unique, cryptographically strong random value in the Dockerfile or deployment configuration.
  • Change cookies_serializer from :marshal to :json or restore the Rails default serialization method.
  • Upgrade to the latest OpenProject Docker image that includes the mitigated code; verify that the image no longer contains the default secret or marshal serializer setting.

Generated by OpenCVE AI on June 26, 2026 at 22:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 27 Jun 2026 01:45:00 +0000

Type Values Removed Values Added
First Time appeared Opf
Opf openproject
Vendors & Products Opf
Opf openproject

Fri, 26 Jun 2026 20:15:00 +0000

Type Values Removed Values Added
Description OpenProject is open-source, web-based project management software. Prior to , the official openproject/openproject Docker image ships ENV SECRET_KEY_BASE=OVERWRITE_ME as the default Rails master key. Combined with cookies_serializer = :marshal, this gives any logged-in user a deterministic Marshal-deserialization path reachable via the /my/two_factor_devices cookie reader This vulnerability is fixed in .
Title OpenProject: Pre-authentication RCE in openproject/openproject Docker image via default `SECRET_KEY_BASE=OVERWRITE_ME` and `cookies_serializer = :marshal`
Weaknesses CWE-1188
CWE-1392
CWE-502
CWE-798
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-26T19:26:39.961Z

Reserved: 2026-05-13T19:53:47.922Z

Link: CVE-2026-46386

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-27T01:30:09Z

Weaknesses
  • CWE-1188

    Initialization of a Resource with an Insecure Default

  • CWE-1392

    Use of Default Credentials

  • CWE-502

    Deserialization of Untrusted Data

  • CWE-798

    Use of Hard-coded Credentials