CVE-2021-21431
Improper Input Validation in sopel-plugins.channelmgnt
sopel-channelmgnt is a channelmgnt plugin for sopel. In versions prior to 2.0.1, on some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that. Freenode is not affected. This is fixed in version 2.0.1. As a workaround, do not use this plugin on networks where TARGMAX > 1.
Attack profile
How easy it is to exploit
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.6
Improper Input Validation in sopel-plugins.channelmgnt
sopel-channelmgnt is a channelmgnt plugin for sopel. In versions prior to 2.0.1, on some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that. Freenode is not affected. This is fixed in version 2.0.1. As a workaround, do not use this plugin on networks where TARGMAX > 1.
- Record
CVE-2021-21431- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H - Weakness
- CWE-20, CWE-284
- Updated
- 2026-11-02
EUVDEUVD-2021-0248
7.6
sopel-channelmgnt is a channelmgnt plugin for sopel. In versions prior to 2.0.1, on some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that. Freenode is not affected. This is fixed in version 2.0.1. As a workaround, do not use this plugin on networks where TARGMAX > 1.
- Record
EUVD-2021-0248- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-23c7-6444-399m
7.6
Improper Input Validation in sopel-plugins.channelmgnt
Impact
On some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that.
Freenode is not affected.
Patches
Upgrade to 2.0.1 or higher
Workarounds
Do not use this plugin on networks where TARGMAX > 1.
For more information
If you have any questions or comments about this advisory:
- Open an issue on phab.
- Email us at staff(at)mirahezebots(dot)org
- Record
GHSA-23c7-6444-399m- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H - Weakness
- CWE-20, CWE-284
- Updated
- 2026-11-02
NVD
7.6
sopel-channelmgnt is a channelmgnt plugin for sopel. In versions prior to 2.0.1, on some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that. Freenode is not affected. This is fixed in version 2.0.1. As a workaround, do not use this plugin on networks where TARGMAX > 1.
- Record
CVE-2021-21431- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H - CVSS 2.0
- 5.5 Medium
AV:N/AC:L/Au:S/C:N/I:P/A:P - Weakness
- CWE-20, CWE-284
- Updated
- 2026-11-02
OSV
8.1
sopel-channelmgnt is a channelmgnt plugin for sopel. In versions prior to 2.0.1, on some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that. Freenode is not affected. This is fixed in version 2.0.1. As a workaround, do not use this plugin on networks where TARGMAX > 1.
- Record
CVE-2021-21431- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H - Updated
- 2026-11-08
OSVGHSA-23c7-6444-399m
7.6
Improper Input Validation in sopel-plugins.channelmgnt
Impact
On some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that.
Freenode is not affected.
Patches
Upgrade to 2.0.1 or higher
Workarounds
Do not use this plugin on networks where TARGMAX > 1.
For more information
If you have any questions or comments about this advisory:
- Open an issue on phab.
- Email us at staff(at)mirahezebots(dot)org
- Record
GHSA-23c7-6444-399m- CVSS 3.1
- 7.6 High
CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H - Weakness
- CWE-20, CWE-284
- Updated
- 2026-11-02
OSVPYSEC-2021-58 No score
sopel-channelmgnt is a channelmgnt plugin for sopel. In versions prior to 2.0.1, on some IRC servers, restrictions around the removal of the bot using the kick/kickban command could be bypassed when kicking multiple users at once. We also believe it may have been possible to remove users from other channels but due to the wonder that is IRC and following RfCs, We have no POC for that. Freenode is not affected. This is fixed in version 2.0.1. As a workaround, do not use this plugin on networks where TARGMAX > 1.
- Record
PYSEC-2021-58- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
sopel-plugins-channelmgntPyPI |
before 2.0.1 | 2.0.1 |
sopel-plugins-channelmgntPyPI |
before 2.0.1, plus listed versions 1.0.01.0.11.0.21.0.31.0.41.0.51.0.62.0 |
2.0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-21431 is a high vulnerability (CVSS 7.6) in Mirahezebots Channelmgnt, published April 9, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.08%, the 65th percentile. Fixed in sopel-plugins-channelmgnt 2.0.1.
References
pypi.org/project/sopel-plugins.channelmgnt
github.com/MirahezeBots/sopel-channelmgnt/security/advisories/GHSA-23c7-6444-399m
github.com/MirahezeBots/sopel-channelmgnt/commit/7c96d400358221e59135f0a0be0744f3fad73856
nvd.nist.gov/vuln/detail/CVE-2021-21431
github.com/MirahezeBots/sopel-channelmgnt/commit/643388365f28c5cc682254ab913c401f0e53260a
github.com/pypa/advisory-database/tree/main/vulns/sopel-plugins-channelmgnt/PYSEC-2021-58.yaml
github.com/advisories/GHSA-23c7-6444-399m
github.com/MirahezeBots/sopel-channelmgnt