CVE-2026-127281 Details
Description
A vulnerability was found in lanyulei ferry 1.0.0-beta.1/1.0.0. Affected is an unknown function of the file middleware/auth.go of the component JWT Validation. The manipulation results in improper authentication. The attack can be executed remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
An authentication bypass vulnerability has been identified in Lanyulei Ferry versions 1.0.0-beta.1 and 1.0.0. The issue arises in the JWT validation component, specifically within the middleware/auth.go file. The vulnerability allows remote attackers to manipulate the authentication process by exploiting an empty or default signing key, leading to improper authentication. This flaw has been publicly disclosed and could be actively exploited.
To address this vulnerability, the vendor should implement several key changes: First, the application should be configured to reject an empty JWT secret key, preventing the acceptance of invalid tokens. Second, the default secret key should be removed from the configuration file, requiring users to set their own secure key. Additionally, the application should stop trusting the 'rolekey' claim in the JWT token and instead verify roles against the database to ensure proper authorization. Finally, operators should set a strong, random JWT secret key, audit access logs for suspicious activity, and reset passwords for accounts whose hashes were leaked.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 13, 2026CISA-ADP
Assessed Nov 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/liumiya63-arch/CVE/blob/main/ferry-CVE-en-20261018/CVE-ferry-jwt-auth-bypass.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-127281 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1041008 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/submit/1041009 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/436447 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/436447/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lanyulei ferry | <= 1.0.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 13, 2026 | CVE Modified | CISA-ADP |
| Nov 13, 2026 | New CVE Received | [email protected] |
Volerion