CVE-2026-40178: Ajenti 2FA authentication bypass in ajenti.plugin.core

CVE-2026-40178 · Severity: medium · CVSS 5.9 · Published 2026-04-10

Ajenti suffers from a race condition in its core plugin that allows attackers to bypass two-factor authentication (2FA) during a brief window following initial user authentication.

Vendors: Ajenti, PyPI.

Quick answers

Is CVE-2026-40178 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40178 being exploited in the wild.
How severe is CVE-2026-40178?
Medium severity, with a CVSS score of 5.9, published 10 April 2026.
Which products and versions are affected?
ajenti-plugin-core (PyPI) ECOSYSTEM:introduced=0,fixed=0.112.
Is there a fix for CVE-2026-40178?
Yes. ajenti-plugin-core (PyPI): upgrade to 0.112 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-40178?
Check whether you run Ajenti Plugin Core or ajenti-plugin-core (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ajenti-plugin-core (PyPI): upgrade to 0.112 or later
    pip install "ajenti-plugin-core>=0.112"

Affected products

  • Ajenti Plugin Core
  • ajenti-plugin-core (PyPI) ECOSYSTEM:introduced=0,fixed=0.112

Identifiers

  • CVE-2026-40178
  • GHSA-8647-755q-fw9p
  • PYSEC-2026-2340

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.