{"id":"CVE-2026-109786","published":"2026-10-13T02:40:13Z","modified":"2026-10-15T15:04:19Z","title":"In fail2ban 0.10.5 through 1.1.1 before ddd879d, the sshd filter (config/filter.d/sshd.conf) accepts an \"on <token>\"…","vendor":"fail2ban","product":"fail2ban","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00314,"percentile":0.25016,"provenance":"source"},"cwes":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs"}],"references":[{"url":"https://github.com/fail2ban/fail2ban/commit/ddd879d22664904ace24e1255ac6571808c58187","tags":["patch"]},{"url":"https://coredump.ws/repos/mail-hardening.git/","tags":["related"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":5.0},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"fail2ban","affectedVersions":[{"vendor":"fail2ban","product":"fail2ban","versions":[">= 0.10.5, <= 1.1.1"]}],"solutions":{"items":["Apply upstream commit ddd879d22664904ace24e1255ac6571808c58187, or upgrade to the first fail2ban release after 1.1.1 that contains it."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-15T15:03:56.691809Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-98268","exploited":false,"provenance":"source"}}