Servers and applications
GHSA-95w7-p5jc-mq6w
With enforced 2FA, a stale session flag lets an attacker who knows a password register an own 2FA device for the victim and log in
- Severity
- Medium 6.8
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 17.9.9
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N- Sources
- Project advisories (GitHub)
Description
Precondition: two-factor authentication is enforced for the instance (2FA settings → "Enforce 2FA", or OPENPROJECT_2FA_ENFORCED). This is not the default.
When a user without a 2FA device passes the password step, the session gets authenticated_user_force_2fa = true and the user is sent to the forced device registration. This flag is never cleared and is not bound to a user. If the same browser session then passes the password step for a different user who already has a device, the forced registration controller still trusts the flag and acts on that second user: it lets the session register and confirm a new TOTP device with a secret chosen by the client, and then completes the login stage.
So an attacker who knows the victim's password, and has any account without a device (for example an own, newly activated account), logs in as the victim without the victim's second factor and leaves an own active device on the victim's account.
Affected software
| Software | Affected versions |
|---|---|
OpenProjectServers and applications · github:opf/openproject |
|
About OpenProject
web-based project management system
- Total downloads
- 30M+OpenProject
- Docker Hub pulls
- 6,539,922Docker Hub, 29 Nov 2026
- GitHub stars
- 17,836GitHub, 29 Nov 2026
- Forks
- 3,855GitHub, 29 Nov 2026
- Latest release
- v17.8.3GitHub, 29 Nov 2026
- Released
- 19 Nov 2026GitHub
- License
- GNU General Public License, version 3.0Wikidata
- Written in
- RubyWikidata
- First published on GitHub
- 28 Nov 2012GitHub
Website Source code Docker image
Vulnerabilities in OpenProject
- In our list
- 144
- Published in the last 12 months
- 134
- Critical, last 12 months
- 13
- High, last 12 months
- 17
- Known exploited
- 0
- GHSA-xffq-c939-hm39Script URL schemes in allowed link protocols are kept in rendered linksMedium 4.0 3 Dec 2026
- GHSA-whr5-wq86-jc59Project phase definition link is shared between users through the representer cacheLow 3.1 3 Dec 2026
- GHSA-wc93-w836-rgxmProject copy duplicates public queries of other projects referenced by overview widgetsMedium 4.3 3 Dec 2026
- GHSA-vhcm-j4w9-7rr4Moving a recurring meeting to another project leaves its template and occurrences in the old projectMedium 5.5 3 Dec 2026
- GHSA-gmv8-48mh-c22wPublic cost reports of other projects can be opened by IDMedium 4.3 3 Dec 2026
- GHSA-8cmf-hvc8-pc75Auto-login tokens stay valid after an administrator password reset or an email changeMedium 4.8 3 Dec 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-95w7-p5jc-mq6w
- github.com https://github.com/opf/openproject/security/advisories/GHSA-95w7-p5jc-mq6w