{"id":"CVE-2016-10525","aliases":["EUVD-2019-0315","GHSA-mg8r-9g6j-hwv9"],"status":"published","title":"Authentication Bypass in hapi-auth-jwt2","description":"When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02439,"percentile":0.84403,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287"],"published":"2018-05-29T20:00:00Z","modified":"2026-10-20T10:47:24Z","fixes":[{"ecosystem":"npm","package":"hapi-auth-jwt2","fixed_in":["5.1.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"hapi-auth-jwt2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.1"},{"last_affected":"5.1.1"},{"fixed":"5.1.2"}]}],"versions":["5.1.1"]},{"source":"osv","ecosystem":"npm","package":"hapi-auth-jwt2","ranges":[{"type":"SEMVER","events":[{"introduced":"5.1.1"},{"fixed":"5.1.2"}]}],"versions":["5.1.1"]}],"products":[{"vendor":"dwyl","product":"hapi-auth-jwt2"},{"vendor":"hackerone","product":"hapi-auth-jwt2 node module"}],"references":[{"url":"https://nodesecurity.io/advisories/81","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/dwyl/hapi-auth-jwt2/pull/112","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/dwyl/hapi-auth-jwt2/issues/111","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-10525","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mg8r-9g6j-hwv9","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/81","tags":["web"]},{"url":"https://github.com/dwyl/hapi-auth-jwt2","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2016-10525","description":"When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.","status":"published","published":"2018-05-29T20:00:00Z","modified":"2024-09-17T01:01:50.306Z","updated_at":"2026-11-02T14:33:31.450804Z"}],"euvd":[{"id":"EUVD-2019-0315","description":"When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.","status":"published","published":"2018-05-29T20:00:00Z","modified":"2024-09-17T01:01:50Z","updated_at":"2026-11-03T00:28:53.188643Z"}],"ghsa":[{"id":"GHSA-mg8r-9g6j-hwv9","title":"Authentication Bypass in hapi-auth-jwt2","description":"Versions of `hapi-auth-jwt2` prior to version 5.1.2 are affected by a complete authentication bypass vulnerability when in the `try` authentication mode. \n\n\n## Recommendation\n\nUpdate to version 5.1.2 or later.","status":"published","published":"2019-02-18T23:39:00Z","modified":"2023-01-09T05:03:22Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:36:05.071174Z"}],"nvd":[{"id":"CVE-2016-10525","description":"When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.","status":"published","published":"2018-05-29T20:29:00.643Z","modified":"2026-06-17T00:39:52.63Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:03:39.176887Z"}],"osv":[{"id":"CVE-2016-10525","description":"When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.","status":"published","published":"2018-05-29T20:29:00.643Z","modified":"2026-10-20T10:47:24.683340802Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"GHSA-mg8r-9g6j-hwv9","title":"Authentication Bypass in hapi-auth-jwt2","description":"Versions of `hapi-auth-jwt2` prior to version 5.1.2 are affected by a complete authentication bypass vulnerability when in the `try` authentication mode. \n\n\n## Recommendation\n\nUpdate to version 5.1.2 or later.","status":"published","published":"2019-02-18T23:39:00Z","modified":"2023-11-08T03:58:10.538387Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:46:51.811331Z"}]}}
