{"schemaVersion":3,"id":"CVE-2026-107275","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-08T11:05:40.492Z","modified":"2026-10-08T14:21:22.066Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.8,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.8,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00312,"percentile":0.22822,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-09T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00312,"percentile":0.22822}],"last30":[{"date":"2026-10-09T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00312,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00312,"percentile":0.22822}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-390","name":"Detection of Error Condition Without Action","description":"The product detects a specific error, but takes no actions to handle the error.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/390.html"},{"id":"CWE-613","name":"Insufficient Session Expiration","description":"According to WASC, \"Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.\"","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/613.html"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions","description":"The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/754.html"}],"affected":[{"vendor":"@fastify/jwt","product":"@fastify/jwt","name":"@fastify/jwt","label":"@fastify/jwt","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 10.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.2.3","eol":null,"hubHref":"/vendor/fastifyjwt/fastifyjwt"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/fastify/fastify-jwt/security/advisories/GHSA-9x4w-r9p5-5h7m","label":"github.com/fastify/fastify-jwt/security/advisories/GHSA-9x4w-r9p5-5h7m","hostname":"github.com","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","label":"cna.openjsf.org/security-advisories.html","hostname":"cna.openjsf.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-08T11:05:40.492Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-08T14:21:22.066Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":27,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T20:16:01.750Z","stale":false,"partial":false}}