{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-107275","id":"CVE-2026-107275","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 ex","descriptionLong":"@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.","published":"2026-10-08T11:05:40.492Z","updated":"2026-10-28T02:31:14.189771796Z","reserved":"2026-10-07T15:36:05.942Z","status":"Awaiting Analysis","rejected":false,"assigner":"openjs","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"openjs"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"openjs"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["@fastify/jwt"],"affectedProducts":[{"vendor":"@fastify/jwt","product":"@fastify/jwt","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"0","lessThan":"10.2.3"},{"versionType":"semver","status":"unaffected","version":"10.2.3"}],"platforms":[]}],"packages":[],"cwes":["CWE-390","CWE-613","CWE-754"],"aliases":["GHSA-9x4w-r9p5-5h7m"],"references":[{"url":"https://github.com/fastify/fastify-jwt/security/advisories/GHSA-9x4w-r9p5-5h7m","tags":["advisory"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107275.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107275","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00312,"epssPercentile":0.24749,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-107275","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107275","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-107275","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-107275","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}