{"id":"CVE-2026-107275","revision":"44cfdcc81c18489799e3b068bb0cbbe9","records":[{"revision":"44cfdcc81c18489799e3b068bb0cbbe9","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-107275","aliases":[],"title":"@fastify/jwt vulnerable to missing token expiration when temporal options cannot be parsed","description":"@fastify/jwt is a JSON Web Token plugin for the Fastify web framework. In versions before 10.2.3, a time span passed to expiresIn, notBefore, or maxAge that the plugin's parser cannot read, such as a compound span, a month unit, an ISO 8601 duration, a decimal comma, or a value with surrounding whitespace, is silently dropped instead of refused. On the signing path this produces a token with no expiration claim that never expires, and on the verification path a configured maxAge stops being enforced, so a token that should be rejected for age is accepted. The issue is fixed in @fastify/jwt 10.2.3, and users should upgrade to 10.2.3 or later. As a workaround, pass these options as a number of seconds, or verify that any time-span string parses to a finite value before relying on it.","state":0,"publishedAt":"2026-10-08T11:05:40.492+00:00","modifiedAt":"2026-10-08T14:21:22.066+00:00","affected":[{"ecosystem":"Vendor product","name":"@fastify/jwt","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"@fastify/jwt\",\n                    \"product\": \"@fastify/jwt\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"versionType\": \"semver\",\n                            \"status\": \"affected\",\n                            \"version\": \"0\",\n                            \"lessThan\": \"10.2.3\"\n                        },\n                        {\n                            \"versionType\": \"semver\",\n                            \"status\": \"unaffected\",\n                            \"version\": \"10.2.3\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:npm/@fastify/jwt\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"severity":"MEDIUM"}],"references":["https://github.com/fastify/fastify-jwt/security/advisories/GHSA-9x4w-r9p5-5h7m","https://cna.openjsf.org/security-advisories.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-107275","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-107275","identifiers":["CVE-2026-107275"]},"retained":false,"historicalAffected":[]}],"coverage":[]}