CVE-2026-40178
Authentication Bypass in Ajenti Plugin Core with 2FA Enabled
Publication date: 2026-04-10
Last updated on: 2026-04-21
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ajenti | ajenti_plugin_core | to 0.112 (exc) |
Helpful Resources
Exploitability
| 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.