---
id: CVE-2026-40178
aliases:
  - GHSA-8647-755q-fw9p
  - PYSEC-2026-2340
title: ajenti.plugin.core has race conditions in 2FA
summary: ajenti.plugin.core has race conditions in 2FA
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'
vendor: ajenti-plugin-core
product: ajenti-plugin-core
ecosystem: pip
affected:
  - ajenti-plugin-core < 0.112
patched:
  - ajenti-plugin-core 0.112
published: '2026-04-10'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-8647-755q-fw9p'
references:
  - url: 'https://github.com/ajenti/ajenti/security/advisories/GHSA-8647-755q-fw9p'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-40178'
  - url: 'https://github.com/ajenti/ajenti'
tags:
  - osv
  - pip
epss: 0.0028
epssPercentile: 0.18143
ingestedAt: '2026-07-13T18:57:54.852Z'
---

## Overview

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

## Affected packages

- `ajenti-plugin-core < 0.112`

## Remediation

Upgrade to a patched release:

- `ajenti-plugin-core 0.112`
