CVE-2026-40178

ajenti.plugin.core has a race conditions in 2FA

Published Apr 10, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A race condition within Ajenti’s core plugin creates a narrow window immediately after a user logs in during which the system fails to enforce the second factor. While the user remains authenticated, the missing token check allows an attacker with any valid credentials to operate without providing the additional authentication step. This flaw results in an unauthorized, persistent session that can be used to access the administration interface with elevated privileges.

Affected Systems

All installations of Ajenti using the core plugin before version 0.112 are vulnerable. The affected product is the Ajenti core plugin, which manages the web‑based administration environment. Users running earlier releases should be aware that 2FA may be bypassed during the brief period after initial authentication.

Risk and Exploitability

The medium CVSS score of 6.9 reflects the potential for privilege escalation once a valid account is compromised. No EPSS score is available, and the flaw is not listed in the CISA Known Exploited Vulnerabilities catalogue. The likely attack path requires initial access to a legitimate user account and exploitation of the race window via the Ajenti web interface. The risk is elevated for systems exposed to untrusted networks where attackers can attempt repeated logins to trigger the condition.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Ajenti to version 0.112 or later to eliminate the race condition in the 2FA workflow
  • If an upgrade cannot be performed immediately, disable two‑factor authentication for all accounts as a temporary mitigation
  • Continuously monitor authentication logs for patterns that suggest exploitation of the authentication window
  • Verify that the installed plugin version matches the official release signature to rule out tampering

Generated by OpenCVE AI on April 10, 2026 at 20:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-8647-755q-fw9p ajenti.plugin.core has race conditions in 2FA
History
Type Values Removed Values Added
First Time appeared Ajenti ajenti Plugin Core
CPEs cpe:2.3:a:ajenti:ajenti_plugin_core:*:*:*:*:*:*:*:*
Vendors & Products Ajenti ajenti Plugin Core
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ajenti
Ajenti ajenti
Vendors & Products Ajenti
Ajenti ajenti
Type Values Removed Values Added
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.
Title ajenti.plugin.core has a race conditions in 2FA
Weaknesses CWE-287
CWE-362
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-287

    Improper Authentication

  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 14, 2026, 3:55 AM
Reserved
Apr 9, 2026, 8:59 PM
Status
Analyzed
Published
Apr 10, 2026, 8:16 PM
Modified
Jun 17, 2026, 10:44 AM