CVE-2026-81535 wolfSSH SSH client accepts unsolicited forwarded-tcpip channel opens without an authorization check
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
In wolfSSH through 1.5.0 built with --enable-fwd, DoChannelOpen() in src/internal.c gates only direct-tcpip channel opens with the forwarding policy callback. forwarded-tcpip opens are admitted without an authorization check and are not capped in number, allowing a malicious SSH peer to make an endpoint allocate unbounded per-channel buffers for forwarding channels the application never authorized. A client also does not check a forwarded-tcpip open against the forwards it registered with a tcpip-forward request, as RFC 4254 section 7.2 requires, so a malicious server can open forwarding channels for addresses and ports the client never asked it to forward.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/wolfssh(Alpine v3.24) | < 1.6.0-r0 | 1.6.0-r0 | Fixed |
| wolfSSH | < 1.6.0 | 1.6.0 | Fixed |
| wolfSSL wolfSSH | >= 1.4.8, < 1.6.0 | 1.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| wolfSSL wolfSSH | >= 1.4.8, < 1.6.0 | 1.6.0 |
| alpine/wolfssh(Alpine:v3.24) | < 1.6.0-r0 | 1.6.0-r0 |
| wolfSSH | < 1.6.0 | 1.6.0 |
References
- github.com patch
- Fix commit e396a0a4 (match forwarded-tcpip opens to registered forwards, PR #1148) patch
- Fix commit 79a7f299 (match forwarded-tcpip on every client session, PR #1220) patch
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2026-94162 third-party-advisory