# CVE-2023-31140: OpenProject user sessions not terminated after activation of 2FA

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-05-08T20:27:48.218Z
- Modified: 2026-06-17T05:56:21.967Z
- Also known as: BIT-OPENPROJECT-2023-31140, GHSA-xfp9-qqfj-x28q
- Weaknesses: CWE-613
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenProject is open source project management software. Starting with version 7.4.0 and prior to version 12.5.4, when a user registers and confirms their first two-factor authentication (2FA) device for an account, existing logged in sessions for that user account are not terminated. Likewise, if an administrators creates a mobile phone 2FA device on behalf of a user, their existing sessions are not terminated. The issue has been resolved in OpenProject version 12.5.4 by actively terminating sessions of user accounts having registered and confirmed a 2FA device. As a workaround, users who register the first 2FA device on their account can manually log out to terminate all other active sessions. This is the default behavior of OpenProject but might be disabled through a configuration option. Double check that this option is not overridden if one plans to employ the workaround.

(As written by CVE List.)

## Affected

- opf openproject: >= 7.4.0, < 12.5.4
- openproject openproject: from 7.4.0 before 12.5.4
- openproject (Bitnami): from 7.4.0 before 12.5.4

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://community.openproject.org/wp/48035> (exploit, web)
- <https://github.com/opf/openproject/security/advisories/GHSA-xfp9-qqfj-x28q> (mitigation, vendor-advisory, web)
- <https://github.com/opf/openproject/pull/12508> (patch, web)
- <https://www.openproject.org/docs/release-notes/12-5-4/> (mitigation, release-notes, web)

## Sources

- CVE List: [CVE-2023-31140](https://www.cve.org/CVERecord?id=CVE-2023-31140), CVE Terms of Use, modified 2025-01-29
- NVD: [CVE-2023-31140](https://nvd.nist.gov/vuln/detail/CVE-2023-31140), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-OPENPROJECT-2023-31140](https://osv.dev/vulnerability/BIT-OPENPROJECT-2023-31140), Apache-2.0, modified 2025-10-15

---

Page: https://cve.day/CVE-2023-31140 · Whole record: https://cve.day/CVE-2023-31140.json · Rebuilt by cve.day 2026-11-25T22:58:23.983Z
