Vulnerabilities in pkg:pypi/ajenti.plugin.core

PACKAGE
Advisory Identifier: GHSA-8647-755q-fw9p
Advisory Summary

CVE-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.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/ajenti.plugin.core

2 Known Advisory Record(s)

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

CVE Identifier CVE-2026-40178
GHSA Identifier GHSA-8647-755q-fw9p
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product Ajenti.plugin.core
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (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.

ajenti.plugin.core fixed: 0.112
pip install ajenti.plugin.core>=0.112
Verify Direct and Transitive Dependencies

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

### Impact If the 2FA was activated, it was possible during a short moment after the authentication of an user to bypass its authentication. ### Patches This is fixed in the version 0.112. Users should upgrade to this version as soon as possible.

CVE-2026-40178 Affected Ajenti.plugin.core Versions

1 component(s)
Fixed Versions:
0.112
Product / Package Ecosystem Affected Versions Fixed Version
ajenti.plugin.core
PyPI
< 0.112
0.112

References

Frequently Asked Questions

What is CVE-2026-40178?
CVE-2026-40178 is a security vulnerability in Ajenti.plugin.core involving ajenti.plugin.core has race conditions in 2FA under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which Ajenti.plugin.core versions are affected?
Affected versions include releases prior to 0.112 across affected packages: ajenti.plugin.core.
What version fixes CVE-2026-40178?
Upgrading to 0.112 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ajenti.plugin.core affected?
Yes, ajenti.plugin.core is affected in releases prior to 0.112. Upgrade your dependency to 0.112 or later.
What is the CVSS score of CVE-2026-40178?
CVE-2026-40178 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2026-40178?
CVE-2026-40178 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (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.).
How can I check PyPI dependencies for CVE-2026-40178?
Run the dependency tree command: 'pip show ajenti.plugin.core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}