CVE-2026-117549
Last modified
CVE-2026-117549 is a medium-severity vulnerability rated 4.2/10 on the CVSS scale. @fastify/secure-session is a session plugin for Fastify that stores an encrypted session in a cookie. In versions 7.5.0 through 8.4.1, when the plugin is configured with the signed cookie option, it calls the cookie unsign routine but, when the signature check reports the value as invalid, still passes the original cookie value to the session decoder, so a session whose signature did not validate is decrypted anyway.
Description
@fastify/secure-session is a session plugin for Fastify that stores an encrypted session in a cookie. In versions 7.5.0 through 8.4.1, when the plugin is configured with the signed cookie option, it calls the cookie unsign routine but, when the signature check reports the value as invalid, still passes the original cookie value to the session decoder, so a session whose signature did not validate is decrypted anyway. The practical effect appears when an application supplies the cookie signing secret independently of the session encryption key and rotates only the signing secret to retire existing sessions while keeping the encryption key active, because a holder of an old session cookie can strip the now obsolete signature and keep using the session. The attacker must already possess an unexpired encrypted session cookie and needs neither secret, and cannot forge session data, extend expiry, or survive rotation of the encryption key. The issue is fixed in @fastify/secure-session 8.4.2, which no longer decodes the session when the signed cookie option is set and the signature check fails, and users should upgrade to 8.4.2 or later. As a workaround, rotate the session encryption key rather than relying on rotation of the cookie signing secret alone.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| @fastify/secure-session | @fastify/secure-session | >= 7.5.0, < 8.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-117549?
How severe is CVE-2026-117549?
How do I fix CVE-2026-117549?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-117538REDAXO before 5.21.0 contains a reflected cross-site scripti…4.1
- CVE-2026-117539darylldoyle svg-sanitizer before 1.0.0 contains CSS injectio…3.5
- CVE-2026-11754Observable discrepancy vulnerability in Seres Software syWEB…5.3
- CVE-2026-117540svg-sanitizer from 0.5.3 before 1.1.0 contains a denial of s…7.5
- CVE-2026-117541svg-sanitizer from 0.11.0 before 1.1.0 contains an uncaught …5.3
- CVE-2026-117548A NULL pointer dereference flaw was found in 389-ds-base. Th…6.5
- CVE-2026-117553Umbraco CMS before 17.7.2 and 18.2.2 contains an authenticat…7.5
- CVE-2026-117554Admidio before 5.0.17 contains an improper access control vu…4.3
- CVE-2026-117555CImg through 4.0.6 contains a heap out-of-bounds read vulner…6.1
- CVE-2026-117556zchunk before 1.5.5 contains a heap out-of-bounds read vulne…4.3
- CVE-2026-117557SDL_image through 3.4.8 and through 2.8.12 contains a stack …6.1
- CVE-2026-117558The ai-sdlc plugin MCP server through 0.31.2 contains an OS …7.8
Are you affected by CVE-2026-117549?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
