# CVE-2023-45140: Group-based JIT MFA bypass on scp and sftp in The Bastion

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/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.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2023-11-08T15:26:26.584Z
- Modified: 2026-06-17T06:28:18.033Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

The Bastion provides authentication, authorization, traceability and auditability for SSH accesses. SCP and SFTP plugins don't honor group-based JIT MFA. Establishing a SCP/SFTP connection through The Bastion via a group access where MFA is enforced does not ask for additional factor. This abnormal behavior only applies to per-group-based JIT MFA. Other MFA setup types, such as Immediate MFA, JIT MFA on a per-plugin basis and JIT MFA on a per-account basis are not affected. This issue has been patched in version 3.14.15.

(As written by CVE List.)

## Affected

- ovh the-bastion: >= 3.0.0, <= 3.14.0; before 3.14.15

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/ovh/the-bastion/security/advisories/GHSA-pr4q-w883-pf5x> (mitigation, vendor-advisory)
- <https://github.com/ovh/the-bastion/releases/tag/v3.14.15> (patch)

## Sources

- CVE List: [CVE-2023-45140](https://www.cve.org/CVERecord?id=CVE-2023-45140), CVE Terms of Use, modified 2024-09-12
- NVD: [CVE-2023-45140](https://nvd.nist.gov/vuln/detail/CVE-2023-45140), Public domain, modified 2026-06-17

---

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