# CVE-2021-21431: Improper Input Validation in sopel-plugins.channelmgnt

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.08%, higher than 66% of CVEs (2026-12-01)
- Published: 2021-04-09T15:42:40.000Z
- Modified: 2026-07-13T12:14:28.152Z
- Also known as: GHSA-23c7-6444-399m, PYSEC-2021-58
- Weaknesses: CWE-20, CWE-284
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MirahezeBots sopel-channelmgnt: < 2.0.1
- sopel-plugins-channelmgnt (PyPI): before 2.0.1; before 7c96d400358221e59135f0a0be0744f3fad73856
- mirahezebots channelmgnt: before 2.0.1

## Every score

- GitHub_M: 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`
- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 5.5 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:P`

## References

- <https://pypi.org/project/sopel-plugins.channelmgnt/> (package, product, third-party-advisory)
- <https://github.com/MirahezeBots/sopel-channelmgnt/security/advisories/GHSA-23c7-6444-399m> (advisory, third-party-advisory, web)
- <https://github.com/MirahezeBots/sopel-channelmgnt/commit/7c96d400358221e59135f0a0be0744f3fad73856> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21431> (advisory)
- <https://github.com/MirahezeBots/sopel-channelmgnt/commit/643388365f28c5cc682254ab913c401f0e53260a> (web)
- <https://github.com/MirahezeBots/sopel-channelmgnt> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/sopel-plugins-channelmgnt/PYSEC-2021-58.yaml> (web)
- <https://pypi.org/project/sopel-plugins.channelmgnt> (web)

## Sources

- CVE List: [CVE-2021-21431](https://www.cve.org/CVERecord?id=CVE-2021-21431), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-23c7-6444-399m](https://github.com/advisories/GHSA-23c7-6444-399m), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2021-21431](https://nvd.nist.gov/vuln/detail/CVE-2021-21431), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-58](https://osv.dev/vulnerability/PYSEC-2021-58), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-21431 · Whole record: https://cve.day/CVE-2021-21431.json · Rebuilt by cve.day 2026-11-25T22:58:00.691Z
