CVE-2026-40178
Received Received - Intake
Authentication Bypass in Ajenti Plugin Core with 2FA Enabled

Publication date: 2026-04-10

Last updated on: 2026-04-21

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-10
Last Modified
2026-04-21
Generated
2026-05-07
AI Q&A
2026-04-11
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
ajenti ajenti_plugin_core to 0.112 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
CWE-362 The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-40178 is a race condition vulnerability in the two-factor authentication (2FA) mechanism of the ajenti.plugin.core package. When 2FA was enabled, there was a brief time window immediately after a user authenticated during which an attacker could bypass the 2FA process, effectively circumventing this security control.

This vulnerability affected versions prior to 0.112 and was fixed in version 0.112.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows an attacker to bypass two-factor authentication (2FA) during a short time window after user authentication, which weakens the security controls intended to protect user access.

Such a bypass could potentially lead to unauthorized access to sensitive data or systems, which may impact compliance with security requirements in common standards and regulations like GDPR and HIPAA that mandate strong authentication mechanisms to protect personal and health information.

However, no explicit information about direct compliance impact or regulatory implications is provided in the available resources.


How can this vulnerability impact me? :

This vulnerability allows an attacker to bypass the two-factor authentication process during a short time window after user authentication. This means an attacker could gain unauthorized access to the system even if 2FA is enabled, potentially compromising the security of the affected system.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade the ajenti.plugin.core package to version 0.112 or later, where the issue has been fixed.

This upgrade will close the race condition in the two-factor authentication mechanism that allowed bypassing 2FA immediately after user authentication.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart