Critical
Security advisory
When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-10525
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:38 UTC · Revision 1
Source evidence
When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.
osv:CVE-2016-10525
Complete source record
{
"id": "727f486a1898dc0a4c7fd649a0f4793f4ce764c825fa164371d06fb7d50c068f",
"url": "https://osv.dev/vulnerability/CVE-2016-10525",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-10525",
"summary": "When attempting to allow authentication mode `try` in hapi, hapi-auth-jwt2 version 5.1.1 introduced an issue whereby people could bypass authentication.",
"evidence": "osv:CVE-2016-10525",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2016-10525",
"aliases": [
"CVE-2016-10525",
"GHSA-mg8r-9g6j-hwv9"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dwyl/hapi-auth-jwt2",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "6b80b3f5a7bb718a0cefb907ea95bbb68b33bfb7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:dwyl:hapi-auth-jwt2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "5.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v5.1.1",
"5.0.6",
"5.0.5",
"v5.0.3",
"v5.0.0",
"v4.9.0",
"4.8.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10525.json"
}
}
],
"modified": "2026-10-20T10:47:24.683340802Z",
"provider": "osv",
"references": [
"https://github.com/dwyl/hapi-auth-jwt2/pull/112",
"https://nodesecurity.io/advisories/81",
"https://github.com/dwyl/hapi-auth-jwt2/issues/111"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-10525",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379366,
"published_at": "2018-05-29T20:29:00.643+00:00"
}