---
id: "CVE-2026-40177"
page: "https://infrastack.ai/live/CVE-2026-40177"
kind: "vulnerability"
aliases: ["CVE-2026-40177", "GHSA-3mcx-6wxm-qr8v"]
title: "ajenti.plugin.core has password bypass when 2FA is activated"
severity: "critical"
cvss: 9.3
epss: 0.00335
exploited: false
status: "open"
category: "package"
products: [{"name": "ajenti.plugin.core", "fixed": ["0.112"], "affected": "< 0.112", "ecosystem": "pypi"}, {"name": "ajenti plugin core", "fixed": ["0.112"], "affected": "< 0.112", "ecosystem": "vendor"}]
ecosystems: ["pypi", "vendor"]
tags: ["ajenti", "cwe-287", "package", "python", "self-hosted"]
not_affected_if: ["two-factor-disabled", "version-0.112-or-later"]
published_at: "2026-04-10T19:47:31+00:00"
first_seen_at: "2026-11-16T14:46:31+00:00"
updated_at: "2026-11-16T15:07:30+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-3mcx-6wxm-qr8v", "first_seen_at": "2026-11-16T14:46:31+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40177", "first_seen_at": "2026-11-16T15:07:30+00:00"}]
exploit_sources: [{"type": "epss", "score": 0.00335, "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-40177"}]
---

# ajenti.plugin.core has password bypass when 2FA is activated

Link for people: https://infrastack.ai/live/CVE-2026-40177 (this .md is for agents)

When two-factor authentication is turned on in Ajenti, the password check can be skipped, so an attacker who does not know the password can still get in. Fixed in version 0.112 of the ajenti.plugin.core package.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:ajenti.plugin.core affected < 0.112 fixed 0.112
- vendor:ajenti plugin core affected < 0.112 fixed 0.112

## How to check

- Check the installed package version with `pip show ajenti.plugin.core`; anything below `0.112` is affected.
- Check whether two-factor authentication is enabled in the Ajenti admin panel; the flaw only applies when it is.

## Fix

- ajenti.plugin.core: upgrade to `0.112`

## Timeline

- 2026-11-16T14:46:31+00:00 ghsa https://github.com/advisories/GHSA-3mcx-6wxm-qr8v
- 2026-11-16T15:07:30+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-40177

## Documents

- [advisory] Maintainer's advisory: api.github.com https://api.github.com/repos/ajenti/ajenti/security-advisories/GHSA-3mcx-6wxm-qr8v
- [advisory] Maintainer's advisory: github.com https://github.com/ajenti/ajenti/security/advisories/GHSA-3mcx-6wxm-qr8v

## From the sources

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 to bypass the password authentication This vulnerability is fixed in 0.112.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
