All vulnerabilities

Servers and applications

CVE-2026-46386

Pre-authentication RCE in openproject/openproject Docker image via default `SECRET_KEY_BASE=OVERWRITE_ME` and `cookies_serializer = :marshal`

Severity
Critical 9.9
Published
13 May 2026
Last changed
13 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
17.2.4
Exploit chance
0.5% in the next 30 daysHigher than 42% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Deserialization of untrusted data (CWE-502)Hard-coded credentials (CWE-798)Insecure default (CWE-1188)CWE-1392
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-r85r-gjq2-f83r
Sources
Project advisories (GitHub)

Description

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, leading to:

  • Admin-user INSERT via DeprecationProxy + User.save.
  • OS command execution as the Puma worker (uid 1000) via DeprecationProxy + ERB#def_module, leveraging CVE-2026-41316.

The hardcoded literal was introduced in commit 57874efa23 on 2019-01-14 and has been present in every release tag since v8.3.0 through v17.3.1, plus release/17.4 and dev. Self-registration with Setting.self_registration == 3 makes the chain purely pre-auth.

When an attacker knew the secret key base that the application used to derive internal keys from, they could construct encrypted cookies that on the server side were decoded using Object Marshalling which allowed the attacker to execute almost arbitrary…

From opf/openproject's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenProjectServers and applications · github:opf/openproject
  • From 8.3.0 before 17.2.4

About OpenProject

web-based project management system

From Wikidata, CC0 1.0.
Total downloads
30M+OpenProject
Docker Hub pulls
6,225,306Docker Hub, 15 Nov 2026
GitHub stars
17,385GitHub, 15 Nov 2026
Forks
3,765GitHub, 15 Nov 2026
Latest release
v17.9.7GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
License
GNU General Public License, version 3.0Wikidata
Written in
RubyWikidata
First published on GitHub
28 Nov 2012GitHub

References