CVE-2026-40178 ajenti.plugin.core has a race conditions in 2FA
Attackers can bypass two-factor authentication during a brief window after login if 2FA is enabled, allowing unauthorized access to the Ajenti web panel.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-40178?
CVE-2026-40178 is a medium-severity vulnerability in ajenti, published on 10 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-40178?
3 open source packages ship an affected version, including ajenti-plugin-core and ajenti.plugin.core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ajenti-plugin-core PyPI | All versions | 0.112 |
ajenti-plugin-core PyPI | All versions | 0.112 |
ajenti.plugin.core PyPI | All versions | 0.112 |
Products include Ajenti Ajenti Plugin Core.
How do I fix CVE-2026-40178?
Upgrade ajenti-plugin-core to 0.112 or later.
Is CVE-2026-40178 being exploited?
There is no known exploitation of CVE-2026-40178 in the wild and no public exploit code.
Other vulnerabilities in ajenti
Sources
Also known as GHSA-8647-755q-fw9p, PYSEC-2026-2340.