Vulnerabilities in pkg:pypi/ajenti.plugin.core
PACKAGECVE-2026-40178 is a MODERATE (CVSS 5.9) ajenti.plugin.core has race conditions vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Ajenti.plugin.core libraries in the PyPI ecosystem. The issue involves ajenti.plugin.core has race conditions in 2fa. Remediation is available by upgrading affected packages to version 0.112.
pkg:pypi/ajenti.plugin.core
Vulnerability advisories affecting package pkg:pypi/ajenti.plugin.core. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8647-755q-fw9p | CVE-2026-40178 | MODERATE | ajenti.plugin.core has race conditions in 2FA |
| GHSA-3mcx-6wxm-qr8v | CVE-2026-40177 | CRITICAL | ajenti.plugin.core has password bypass when 2FA is activated |
CVE-2026-40178 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-40178
To remediate this vulnerability, upgrade all affected Ajenti.plugin.core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install ajenti.plugin.core>=0.112
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ajenti.plugin.core
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-40178, inspect your installed packages using pip:
pip show ajenti.plugin.core
Analyze the terminal output to locate any version of Ajenti.plugin.core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.112), your application is affected.
Note: The pip show ajenti.plugin.core command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where 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. In Ajenti.plugin.core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-40178 Affected Ajenti.plugin.core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ajenti.plugin.core
|
PyPI |
< 0.112
|
0.112
|
References
Frequently Asked Questions
What is CVE-2026-40178?
Which Ajenti.plugin.core versions are affected?
What version fixes CVE-2026-40178?
Is ajenti.plugin.core affected?
What is the CVSS score of CVE-2026-40178?
What CWE is associated with CVE-2026-40178?
How can I check PyPI dependencies for CVE-2026-40178?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8647-755q-fw9p",
"modified" : "2026-04-24T21:09:51Z",
"published" : "2026-04-10T19:54:41Z",
"aliases" : [ "CVE-2026-40178" ],
"summary" : "ajenti.plugin.core has race conditions in 2FA",
"details" : "### Impact\n\nIf the 2FA was activated, it was possible during a short moment after the authentication of an user to bypass its authentication.\n\n### Patches\n\nThis is fixed in the version 0.112. Users should upgrade to this version as soon as possible.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ajenti.plugin.core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.112"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.111"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ajenti/ajenti/security/advisories/GHSA-8647-755q-fw9p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40178"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ajenti/ajenti"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287", "CWE-362" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-10T19:54:41Z",
"nvd_published_at" : "2026-04-10T20:16:23Z"
}
}