Two CVSS 10.0 Vulnerabilities: The TOCTOU Pattern You Should Grep Your Codebase For
The Vulnerabilities
Two CVSS 10.0 vulnerabilities demand immediate engineering attention this week, and one of them reveals a bug class likely hiding in your own code.
pac4j-jwt (CVE-2026-29000) is an authentication bypass where an attacker can forge valid JWTs using only the public key. This is almost certainly an algorithm confusion attack — the library accepts HMAC signatures verified with the RSA public key as the HMAC secret. If you're running any JVM service that depends on pac4j for JWT validation, even transitively through a framework, this is a P0 patch. Authentication library vulnerabilities are force multipliers: one flaw compromises every service behind it.
FreeScout (CVE-2026-28289) is a zero-click RCE via email attachment, but the mechanism is what matters. An attacker sends a file named [zero-width-space].htaccess. The security check looks for filenames starting with a dot — it doesn't see one because the invisible Unicode character comes first. Then sanitization strips the zero-width space, leaving .htaccess on disk. This bypassed a fix for a previous CVE, meaning the original patch didn't understand the ordering invariant.
Classic TOCTOU: the security-relevant property changes between the time it's checked and the time the file is used. If your code validates filenames before Unicode normalization, you have this same bug class.
The Pattern to Grep For
Any code path where security checks (deny-list matching, extension validation, path traversal checks) precede input sanitization (Unicode normalization, invisible character stripping, encoding canonicalization) is vulnerable. The fix is architectural: always normalize/canonicalize first, then validate. Never the reverse.
Your Network Edge Is Now the Primary Target
GTIG's 2025 data shows 48% of zero-days targeted enterprise-grade infrastructure — a new record. Cisco simultaneously disclosed 50+ CVEs across SD-WAN Manager, ASA, FMC, and FTD, with two actively exploited (CVE-2026-20122 arbitrary file overwrite, CVE-2026-20128). Combined with CVE-2026-20129 (critical auth bypass in SD-WAN Manager), the attack chain from unauthenticated access to full infrastructure compromise is short.
On the offensive tooling side, the Havoc C2 framework is replacing Cobalt Strike in active campaigns, using DLL sideloading via legitimate Windows binaries with known EDR bypasses. Update your detection engineering accordingly.
When your security appliances are the most exploited category, the network perimeter model breaks down. This is the strongest practical argument for zero-trust architecture — not as a product, but as an acknowledgment that your trust boundary enforcement devices are themselves untrustworthy.
What to do
Audit dependency tree for pac4j-jwt usage (including transitive) and upgrade or replace by end of week
Grep codebase for TOCTOU patterns: any validation logic that precedes input sanitization or Unicode normalization
Apply Cisco SD-WAN Manager and ASA/FMC/FTD patches from late February if not already done — treat as P0 incident
Add Havoc C2 indicators and DLL sideloading via legitimate Windows binaries to detection rules this sprint