CVE-2026-55165 Lemur : JWT verifier trusts attacker-supplied alg from token header — defense-in-depth gap; chain-dependent ATO with secret disclosure
- Published
- Updated
- Exploit status
- No public exploit known
Description
Lemur manages TLS certificate creation. Prior to 1.9.2, the JWT verifier in lemur/auth/service.py:130-137 used fetch_token_header to read header_data["alg"] from an unverified token and passed that attacker-controlled value to decode_with_multiple_secrets. PyJWT 2.x rejects alg=none with the configured key, so the flaw is a defense-in-depth gap rather than a direct authentication bypass in the shipped configuration. The unpinned algorithm can become exploitable after an asymmetric-signing migration through algorithm confusion, and it weakens algorithm-based anomaly detection because the token chooses the recorded value. A separate disclosure of LEMUR_TOKEN_SECRET would also permit forged HS256 tokens, although that disclosure is an independent prerequisite. The fix introduces the server-controlled LEMUR_TOKEN_ALGORITHMS allowlist and defaults it to HS256. This issue is fixed in version 1.9.2.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi lemur(PyPI) | < 1.9.2 | 1.9.2 |
| pypi lemur(PyPI) | = 0.11.0 | No fix listed |
| pypi lemur(PyPI) | = 0.2.1 | No fix listed |
| pypi lemur(PyPI) | = 0.8.0 | No fix listed |
| pypi lemur(PyPI) | = 0.8.1 | No fix listed |
| pypi lemur(PyPI) | = 0.9.0 | No fix listed |
| pypi lemur(PyPI) | = 1.0.0 | No fix listed |
| pypi lemur(PyPI) | = 1.1.0 | No fix listed |
| pypi lemur(PyPI) | = 1.2.0 | No fix listed |
| pypi lemur(PyPI) | = 1.3.1 | No fix listed |
| pypi lemur(PyPI) | = 1.3.2 | No fix listed |
| pypi lemur(PyPI) | = 1.4.0 | No fix listed |
| pypi lemur(PyPI) | = 1.5.0 | No fix listed |
| pypi lemur(PyPI) | = 1.6.0 | No fix listed |
| pypi lemur(PyPI) | = 1.7.0 | No fix listed |
| pypi lemur(PyPI) | = 1.8.0 | No fix listed |
| pypi lemur(PyPI) | = 1.8.1 | No fix listed |
| pypi lemur(PyPI) | = 1.8.2 | No fix listed |
| pypi lemur(PyPI) | = 1.9.0 | No fix listed |
| pypi lemur(PyPI) | = 1.9.1 | No fix listed |
| Netflix lemur | = < 1.9.2 | No fix listed |
References
- https://github.com/Netflix/lemur/security/advisories/GHSA-r9gp-7f88-9r54 exploit vendor-advisory
- github.com product
- https://github.com/Netflix/lemur/releases/tag/v1.9.2
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- https://github.com/Netflix/lemur/commit/89898e665beed044cf7bd5927dfaa484e55bf242