Home / fail2ban / fail2ban / CVE-2026-109786
CVE-2026-109786: is it exploited, and which versions of fail2ban are affected and fixed?
CVE-2026-109786 is a log injection vulnerability in fail2ban. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: fail2ban from 0.10.5 through 1.1.1 (CVE record by mitre). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-109786?
In fail2ban 0.10.5 through 1.1.1 before ddd879d, the sshd filter (config/filter.d/sshd.conf) accepts an "on <token>" suffix after the host address. Because OpenSSH logs the offered username verbatim, a remote unauthenticated attacker can use a username such as "x VICTIM-SOURCE-IP-ADDRESS on" to make fail2ban associate failed login attempts with an arbitrary source IP address and ban it (e.g., to block logins from a legitimate user). The default filter mode is affected.
From the CVE record by mitre, last updated October 15, 2026, 15:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| fail2ban | fail2ban Linux, Unix | from 0.10.5 through 1.1.1 |
As the CVE record by mitre states it, last updated October 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-109786?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | mitre |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-109786 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, October 15, 2026)
- EPSS
- 0.31% probability of exploitation activity in the next 30 days, percentile 26.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-117 Improper Output Neutralization for Logs
How do I fix it? (from the CVE record)
Apply upstream commit ddd879d22664904ace24e1255ac6571808c58187, or upgrade to the first fail2ban release after 1.1.1 that contains it.
Is there a workaround? (from the CVE record)
Override __on_port_opt and __suff in a local filter.d/sshd.local so that only an optional "port N" may follow the host address, as in the upstream fix: __on_port_opt = (?: port \d+)? and __suff = %(__on_port_opt)s(?: \[preauth\])?\s*. Add the administrator's own addresses to ignoreip.
Where are the vendor advisories and references?
- https://github.com/fail2ban/fail2ban/commit/ddd879d22664904ace24e1255ac6571808c58187 patch
- https://coredump.ws/repos/mail-hardening.git/ related
When was it published, and where is the official record?
- Reserved
- October 13, 2026
- Published
- October 13, 2026, 02:40 UTC
- CVE record updated
- October 15, 2026, 15:04 UTC by mitre
- NVD
- Awaiting Analysis, last modified October 16, 2026, 19:55 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect fail2ban?
- Jul 16, 2021CVE-2021-32749 fail2ban: OS command injection
- Jun 10, 2014CVE-2009-5023 Fail2ban: link following (a symlink lets an attacker reach other files)
- Feb 1, 2014CVE-2013-7177 Fail2ban: improper input validation
- Feb 1, 2014CVE-2013-7176 Fail2ban: improper input validation
- Aug 28, 2013CVE-2013-2178 Fail2ban: improper input validation
- Dec 31, 2012CVE-2012-5642 Fail2ban: n/a
- Feb 13, 2009CVE-2009-0362 Fail2ban: authentication bypass (improper authentication)
- Aug 14, 2007CVE-2007-4321 Fail2ban: n/a
Questions about CVE-2026-109786
Is CVE-2026-109786 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.31% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of fail2ban are affected by CVE-2026-109786?
fail2ban from 0.10.5 through 1.1.1, per the CVE record by mitre. The tables above give every range the sources list.
Which version fixes CVE-2026-109786?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-109786?
Medium (5.3, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2026-109786?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.