# CVE-2026-40178: ajenti.plugin.core has a race conditions in 2FA

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- 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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-04-10T19:30:47.083Z
- Modified: 2026-07-13T16:43:29.297Z
- Also known as: GHSA-8647-755q-fw9p, PYSEC-2026-2340
- Weaknesses: CWE-287, CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

ajenti.plugin.core defines all necessary core elements to allow Ajenti to run properly. Prior to 0.112, if the 2FA was activated, it was possible during a short moment after the authentication of an user to bypass its authentication. This vulnerability is fixed in 0.112.

(As written by CVE List.)

## Affected

- ajenti ajenti: < 0.112
- ajenti-plugin-core (PyPI): before 0.112
- ajenti ajenti_plugin_core: before 0.112

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`

## References

- <https://github.com/ajenti/ajenti/security/advisories/GHSA-8647-755q-fw9p> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40178> (advisory)
- <https://github.com/ajenti/ajenti> (package)
- <https://pypi.org/project/ajenti-plugin-core> (package)
- <https://github.com/advisories/GHSA-8647-755q-fw9p> (advisory)

## Sources

- CVE List: [CVE-2026-40178](https://www.cve.org/CVERecord?id=CVE-2026-40178), CVE Terms of Use, modified 2026-04-14
- GitHub Advisory Database: [GHSA-8647-755q-fw9p](https://github.com/advisories/GHSA-8647-755q-fw9p), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-40178](https://nvd.nist.gov/vuln/detail/CVE-2026-40178), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2340](https://osv.dev/vulnerability/PYSEC-2026-2340), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-40178 · Whole record: https://cve.day/CVE-2026-40178.json · Rebuilt by cve.day 2026-11-25T22:59:18.545Z
